* we have now several bstrs:
[citadel.git] / webcit / graphics.c
index 3c16baf414e218dd2c91fa16de6880e26ced0bcd..e9c0d8c3410067c6a24f7753128278372b383579 100644 (file)
@@ -66,7 +66,7 @@ void do_graphics_upload(char *filename)
        int thisblock;
        bytes_remaining = WC->upload_length;
 
-       if (!IsEmptyStr(bstr("cancel_button"))) {
+       if (havebstr("cancel_button")) {
                strcpy(WC->ImportantMessage,
                        _("Graphics upload has been cancelled."));
                display_main_menu();