about summary refs log tree commit diff
path: root/pkgs/games/humblebundle
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/games/humblebundle')
-rw-r--r--pkgs/games/humblebundle/starbound.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/games/humblebundle/starbound.nix b/pkgs/games/humblebundle/starbound.nix
index 921f652b..2c63cb0d 100644
--- a/pkgs/games/humblebundle/starbound.nix
+++ b/pkgs/games/humblebundle/starbound.nix
@@ -118,7 +118,7 @@ let
             if (*str >= 0 && *str <= 31) {
               *out++ = '\\';
               *out++ = 'u';
-              snprintf(out, 4, "%04x", *str);
+              snprintf(out, 5, "%04x", *str);
               out += 4;
             } else {
               *out++ = *str;