X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=xoptions.c;h=437ebae112b9e6e02e2342d8b7023a0b75a9c8dc;hb=bb9d038829e2c23d77a9a468ac6fdb0ca8fc65a9;hp=bafa8bbee6612e2f310de38b6cdf31b098fe1cb2;hpb=38fcbc993ebe30afcfd6a554cad85873fdd0f9c0;p=xboard.git diff --git a/xoptions.c b/xoptions.c index bafa8bb..437ebae 100644 --- a/xoptions.c +++ b/xoptions.c @@ -1395,7 +1395,7 @@ int NewComCallback(int n) void SaveChanges(int n) { - GetWidgetText(¤tOption[0], &commentText); + GenericReadout(0); ReplaceComment(commentIndex, commentText); } @@ -1446,7 +1446,7 @@ int NewTagsCallback(int n) void changeTags(int n) { - GetWidgetText(¤tOption[1], &tagsText); + GenericReadout(1); if(bookUp) SaveToBook(tagsText); else ReplaceTags(tagsText, &gameInfo); }