We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e14cafb commit dd9d721Copy full SHA for dd9d721
src/ui/display.c
@@ -326,7 +326,7 @@ bool prepare_display_output() {
326
strlcpy(symbol, token->symbol, MAX_TOKEN_SYMBOL_LEN + 1);
327
symbol_len = strlen(token->symbol);
328
}
329
- strlcpy(g_amount, symbol, 30);
+ strlcpy(g_amount, symbol, MAX_TOKEN_SYMBOL_LEN + 1);
330
g_amount[symbol_len] = ' ';
331
format_value(output.value, g_amount + symbol_len + 1);
332
return false;
0 commit comments