projects
/
navit-package
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix:Core:Fix a typo which resulted in a warning
[navit-package]
/
navit
/
popup.c
diff --git
a/navit/popup.c
b/navit/popup.c
index
0e6f596
..
67f8ecd
100644
(file)
--- 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) {