projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* Created IsEmptyStr define to be used rather then using some weird strlen constructs
[citadel.git]
/
webcit
/
graphics.c
diff --git
a/webcit/graphics.c
b/webcit/graphics.c
index daeff6d349c32c9adbe5f91e032fed979be48ca2..55adb98d7f1c66cc94aeda37b0bf438ee5fce8b3 100644
(file)
--- a/
webcit/graphics.c
+++ b/
webcit/graphics.c
@@
-70,7
+70,7
@@
void do_graphics_upload(char *upl_cmd)
int pos = 0;
int thisblock;
- if (
strlen(bstr("cancel_button")) > 0
) {
+ if (
!IsEmptyStr(bstr("cancel_button"))
) {
strcpy(WC->ImportantMessage,
_("Graphics upload has been cancelled."));
display_main_menu();