# HG changeset patch # User ib # Date 1353853043 0 # Node ID 2b49f4c8c47f797b3efd6e491b73c7fb753da03b # Parent e900dc6b8d6603869bf9bc130e870bdff6554c0a Allow setting guiInfo.Filename to NULL. It's totally valid to do so. diff -r e900dc6b8d66 -r 2b49f4c8c47f gui/ui/actions.c --- a/gui/ui/actions.c Sun Nov 25 12:24:02 2012 +0000 +++ b/gui/ui/actions.c Sun Nov 25 14:17:23 2012 +0000 @@ -221,9 +221,6 @@ void uiSetFileName(char *dir, char *name, int type) { - if (!name) - return; - if (!dir) setdup(&guiInfo.Filename, name); else