projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fixed bug with copying bitmaps when remapping 'global.door' graphics
[rocksndiamonds.git]
/
src
/
editor.c
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);