diff options
author | Eugene Debrev <edebrev@gmail.com> | 2011-12-19 22:51:46 +0400 |
---|---|---|
committer | waker <wakeroid@gmail.com> | 2011-12-19 22:16:26 +0100 |
commit | fbdef0fd004313fbb05769b6eaa17153033c1570 (patch) | |
tree | cd1b1a7d8067fc7a30af12af15cfd726c002944e /main.c | |
parent | cf370944e93cf5a33472e9db9b84badd4b2f18ee (diff) |
Fixed incorrect buffer termination introduced in a9add4168b36afb835a7b458851b863d3fa48030
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -776,7 +776,7 @@ main (int argc, char *argv[]) { } else if (!strcmp (argv[i], "--gui")) { strncpy (use_gui_plugin, argv[i], sizeof(use_gui_plugin) - 1); - use_gui_plugin[sizeof(use_gui_plugin)] = 0; + use_gui_plugin[sizeof(use_gui_plugin) - 1] = 0; } } |