X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=nhistory.c;h=aa65b16dd8ab5017bc931dac64644d3e5ef6f92d;hb=6f3c9bba464d20c0abff140f3f7a6ccd0291253b;hp=809cbfb0a3d837a1aa4f9348427272d179cd0527;hpb=1c03d229073e56dda9e5856db5adaae51576a3bb;p=xboard.git diff --git a/nhistory.c b/nhistory.c index 809cbfb..aa65b16 100644 --- a/nhistory.c +++ b/nhistory.c @@ -1,7 +1,7 @@ /* * New (WinBoard-style) Move history for XBoard * - * Copyright 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc. + * Copyright 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016 Free Software Foundation, Inc. * ------------------------------------------------------------------------ * * GNU XBoard is free software: you can redistribute it and/or modify @@ -79,7 +79,7 @@ SelectMove (Option *opt, int n, int x, int y, char *text, int index) } Option historyOptions[] = { -{ 200, T_VSCRL | T_FILL | T_WRAP | T_TOP, 400, NULL, (void*) &historyText, NULL, (char**) &SelectMove, TextBox, "" }, +{ 200, T_VSCRL | T_FILL | T_WRAP | T_TOP, 400, NULL, (void*) &historyText, NULL , (char**) &SelectMove, TextBox, "", &appData.historyFont }, { 0, NO_OK, 0, NULL, (void*) NULL, "", NULL, EndMark , "" } }; @@ -106,7 +106,7 @@ MoveHistoryDialogExists () void HistoryPopUp () { - if(GenericPopUp(historyOptions, _("Move list"), HistoryDlg, BoardWindow, NONMODAL, 1)) + if(GenericPopUp(historyOptions, _("Move list"), HistoryDlg, BoardWindow, NONMODAL, appData.topLevel)) AddHandler(&historyOptions[0], HistoryDlg, 0); MarkMenu("View.MoveHistory", HistoryDlg); }