projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb51a78
)
small fix to prevent compiler warning
author
Holger Schemel
<info@artsoft.org>
Tue, 14 Jun 2016 11:21:01 +0000
(13:21 +0200)
committer
Holger Schemel
<info@artsoft.org>
Tue, 14 Jun 2016 11:21:01 +0000
(13:21 +0200)
src/editor.c
patch
|
blob
|
history
diff --git
a/src/editor.c
b/src/editor.c
index d104ae422880c9a47ba2bb9c0e9da67636ddd716..1b72d69b4a9514921e37e88a2f21d25e06a825ee 100644
(file)
--- a/
src/editor.c
+++ b/
src/editor.c
@@
-12051,7
+12051,7
@@
void PrintEditorGadgetInfoText(struct GadgetInfo *gi)
char shortcut[MAX_OUTPUT_LINESIZE + 1];
int max_infotext_len = getMaxInfoTextLength();
- if (gi == NULL ||
gi->info_text == NULL
)
+ if (gi == NULL ||
strlen(gi->info_text) == 0
)
return;
strncpy(infotext, gi->info_text, max_infotext_len);