better handling of pasting a game without PGN tags
[xboard.git] / winboard / wedittags.c
index da86de3..b2e7204 100644 (file)
@@ -37,6 +37,7 @@
 #include "winboard.h"\r
 #include "frontend.h"\r
 #include "backend.h"\r
+#include "wedittags.h"\r
 \r
 /* Module globals */\r
 static char *editTagsText;\r
@@ -87,7 +88,7 @@ EditTagsDialog(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
       if (editTagsX != CW_USEDEFAULT && editTagsY != CW_USEDEFAULT &&\r
          editTagsW != CW_USEDEFAULT && editTagsH != CW_USEDEFAULT) {\r
        WINDOWPLACEMENT wp;\r
-       EnsureOnScreen(&editTagsX, &editTagsY);\r
+       EnsureOnScreen(&editTagsX, &editTagsY, 0, 0);\r
        wp.length = sizeof(WINDOWPLACEMENT);\r
        wp.flags = 0;\r
        wp.showCmd = SW_SHOW;\r