From 14e6251b80f5dd39288e2468e0e2992a785e7fa4 Mon Sep 17 00:00:00 2001
From: Michael R Sweet
void changed_cb(int, int nInserted, int nDeleted,int, const char*, void* v) {
- if ((nInserted || nDeleted) && !loading) changed = 1;
+ if ((nInserted || nDeleted) && !loading) changed = 1;
EditorWindow *w = (EditorWindow *)v;
set_title(w);
if (loading) w->editor->show_insert_position();
@@ -259,7 +259,7 @@ void find2_cb(Fl_Widget* w, void* v) {
}
int pos = e->editor->insert_position();
- int found = textbuf->search_forward(pos, e->search, &pos);
+ int found = textbuf->search_forward(pos, e->search, &pos);
if (found) {
// Found a match; select and update the position...
textbuf->select(pos, pos+strlen(e->search));
@@ -330,7 +330,7 @@ from the program:
void quit_cb(Fl_Widget*, void*) {
- if (changed && !check_save())
+ if (changed && !check_save())
return;
exit(0);
--
cgit v1.2.3