diff options
author | horwitz <horwitz@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2009-04-27 13:43:52 +0000 |
---|---|---|
committer | horwitz <horwitz@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2009-04-27 13:43:52 +0000 |
commit | 0045c187e79f7b00cb961c177abd2cb79772009b (patch) | |
tree | 2d3e52ee4805b95e26fe7fd036a4890865ebfdcc /navit/popup.c | |
parent | 43d231cf7a29782386bd8eb4cab72b8c37e31756 (diff) | |
download | navit-svn-0045c187e79f7b00cb961c177abd2cb79772009b.tar.gz |
Fix:Core:Fix a typo which resulted in a warning
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@2238 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/popup.c')
-rw-r--r-- | navit/popup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/navit/popup.c b/navit/popup.c index 0e6f5960..67f8ecd2 100644 --- a/navit/popup.c +++ b/navit/popup.c @@ -139,7 +139,7 @@ popup_printf_cb(void *menu, enum menu_type type, struct callback *cb, const char us++; } if (usc) { - gchar *str2=g_malloc(strlen(str)+us+1); + gchar *str2=g_malloc(strlen(str)+usc+1); gchar *us2=str2; us=str; while (*us) { |