X-Git-Url: http://hgm.nubati.net/cgi-bin/gitweb.cgi?p=xboard.git;a=blobdiff_plain;f=xoptions.c;h=437ebae112b9e6e02e2342d8b7023a0b75a9c8dc;hp=bafa8bbee6612e2f310de38b6cdf31b098fe1cb2;hb=bb9d038829e2c23d77a9a468ac6fdb0ca8fc65a9;hpb=38fcbc993ebe30afcfd6a554cad85873fdd0f9c0 diff --git a/xoptions.c b/xoptions.c index bafa8bbe..437ebae1 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); }