Delete emptied front-end files, and move rest to gtk directory
[xboard.git] / nhistory.c
index 59b4226..e1d9766 100644 (file)
@@ -26,8 +26,8 @@
 #include <stdlib.h>
 
 #include "common.h"
+#include "frontend.h"
 #include "backend.h"
-#include "xhistory.h"
 #include "dialogs.h"
 #include "gettext.h"
 
@@ -83,6 +83,12 @@ Option historyOptions[] = {
 {   0,           NO_OK,             0, NULL, (void*) NULL, "", NULL, EndMark , "" }
 };
 
+void
+ScrollToCurrent (int caretPos)
+{
+    ScrollToCursor(&historyOptions[0], caretPos);
+}
+
 // ------------ standard entry points into MoveHistory code -----------
 
 Boolean