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 | 85ec0e38a2387b19b7d8d6caf0897d7b64286da0 (patch) | |
tree | 2d3e52ee4805b95e26fe7fd036a4890865ebfdcc /navit/popup.c | |
parent | 28be0630752843f7612acd1e0f49f1f20c7841a8 (diff) | |
download | navit-85ec0e38a2387b19b7d8d6caf0897d7b64286da0.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 0e6f59607..67f8ecd2d 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) { |