ports/x11/fleditor/patches/patch-fltk_editengine_h

13 lines
636 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
Index: fltk/editengine.h
--- fltk/editengine.h.orig
+++ fltk/editengine.h
@@ -113,7 +113,7 @@ class EditorEngine (public)
long CursorRow() const { return Cursor.Row; }
long CursorColumn() const { return Cursor.Column; }
rclError Command(EditorCommandTypes command, long argument=0);
- rclError Command(EditorCommandTypes command, const char *argument);
+ rclError Command(EditorCommandTypes command, char *argument);
rclError MoveTo(long row, long col);
rclError SetTabs(short *tabs);
rclError ChangeWidth(short newwidth) { Width = newwidth; return Command(REFORMAT,(long)newwidth); };