X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=xhistory.c;h=2824fa29276b7a90b724fce84b3b06fd739f240a;hb=fa8cdd39eca80f4bdbf6e8e8a290fa1b8979224e;hp=6eb335a9cb042befe602e9e60096279447d501a7;hpb=cbd80b765ec4a10f6cdde5811bc0f216c975eb50;p=xboard.git diff --git a/xhistory.c b/xhistory.c index 6eb335a..2824fa2 100644 --- a/xhistory.c +++ b/xhistory.c @@ -130,8 +130,8 @@ SelectMove (Widget w, XEvent * event, String * params, Cardinal * nParams) } Option historyOptions[] = { -{ 0xD, 200, 400, NULL, (void*) &historyText, "", NULL, TextBox, "" }, -{ 0, 2, 0, NULL, (void*) NULL, "", NULL, EndMark , "" } +{ 200, T_VSCRL | T_FILL | T_WRAP | T_TOP, 400, NULL, (void*) &historyText, "", NULL, TextBox, "" }, +{ 0, NO_OK, 0, NULL, (void*) NULL, "", NULL, EndMark , "" } }; // ------------ standard entry points into MoveHistory code ----------- @@ -151,7 +151,7 @@ MoveHistoryDialogExists () void HistoryPopUp () { - if(GenericPopUp(historyOptions, _("Move list"), HistoryDlg)) + if(GenericPopUp(historyOptions, _("Move list"), HistoryDlg, BoardWindow, NONMODAL)) AddHandler(&historyOptions[0], 0); MarkMenu("Show Move History", HistoryDlg); }