Fix file-type combobox of Xaw file-selector dialog
authorH.G.Muller <hgm@hgm-xboard.(none)>
Fri, 11 Mar 2016 12:46:55 +0000 (13:46 +0100)
committerH.G.Muller <hgm@hgm-xboard.(none)>
Fri, 11 Mar 2016 12:46:55 +0000 (13:46 +0100)
The list of combobox labels got out of phase with the list of values
after 'Images', because the value for the latter was missing.

dialogs.c

index 104f6c2..9def05c 100644 (file)
--- a/dialogs.c
+++ b/dialogs.c
@@ -2479,7 +2479,7 @@ GetHelpText (FILE *f, char *name)
                if(p - text > 9900) break;
            }
            *p = NULLCHAR;
-           DisplayNote(text);
+           ErrorPopUp("Help", text, FALSE);
            return;
        }
     }
@@ -2892,6 +2892,7 @@ static char *Extensions[] = {
 ".trn",
 ".bin",
 ".wav",
+".png",
 ".ini",
 ".log",
 "",