More HTML fixed from Alexander.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2044 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Michael R Sweet
2002-03-27 12:40:59 +00:00
parent ba95cce4a8
commit 14e6251b80
5 changed files with 8 additions and 8 deletions
+3 -3
View File
@@ -173,7 +173,7 @@ need to define our callback functions.</P>
<UL><PRE>
void changed_cb(int, int nInserted, int nDeleted,int, const char*, void* v) {
if ((nInserted || nDeleted) && !loading) changed = 1;
if ((nInserted || nDeleted) &amp;&amp; !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, &amp;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:
<UL><PRE>
void quit_cb(Fl_Widget*, void*) {
if (changed && !check_save())
if (changed &amp;&amp; !check_save())
return;
exit(0);