projects
/
xboard.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Fix GTK SetInsertPos
[xboard.git]
/
dialogs.c
diff --git
a/dialogs.c
b/dialogs.c
index
899bf71
..
caa98c4
100644
(file)
--- a/
dialogs.c
+++ b/
dialogs.c
@@
-1167,7
+1167,8
@@
IcsKey (int n)
case -1:
val = NextInHistory();
}
- SetWidgetText(&boxOptions[0], val ? val : "", InputBoxDlg);
+ SetWidgetText(&boxOptions[0], val = val ? val : "", InputBoxDlg);
+ SetInsertPos(&boxOptions[0], strlen(val));
}
static void