X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=xedittags.c;h=0235da4748439cd69aac539b5d15c6e789118fbc;hb=36c1871d84e1132cee5c4c7fe4363c442fa34af2;hp=fdaf3e32e00a875a7ae5e0d1ebb0e6cdfd323d35;hpb=24e290d23d9be7bfc246940db91011e46ad480e5;p=xboard.git diff --git a/xedittags.c b/xedittags.c index fdaf3e3..0235da4 100644 --- a/xedittags.c +++ b/xedittags.c @@ -81,6 +81,7 @@ extern char *getenv(); #include "backend.h" #include "xboard.h" #include "xedittags.h" +#include "dialogs.h" #include "gettext.h" #ifdef ENABLE_NLS @@ -109,7 +110,7 @@ EditTagsPopUp (char *tags, char **dest) void TagsPopDown() { - PopDown(2); + PopDown(TagsDlg); bookUp = False; } @@ -118,7 +119,7 @@ EditTagsProc () { Arg args[5]; int j; - if (!bookUp && PopDown(2)) { + if (!bookUp && PopDown(TagsDlg)) { j = 0; XtSetArg(args[j], XtNleftBitmap, None); j++; XtSetValues(XtNameToWidget(menuBarWidget, "menuView.Show Tags"), args, j);