summaryrefslogtreecommitdiff
path: root/documentation/editor.html
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2002-03-27 12:40:59 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2002-03-27 12:40:59 +0000
commit14e6251b80f5dd39288e2468e0e2992a785e7fa4 (patch)
treeecbac26ec7cdbb46c0f16351d773df3520284b29 /documentation/editor.html
parentba95cce4a87aa91afffa5dcef5e4daa117bb48d1 (diff)
More HTML fixed from Alexander.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2044 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'documentation/editor.html')
-rw-r--r--documentation/editor.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/documentation/editor.html b/documentation/editor.html
index 565ba5ee0..3fb5c43b0 100644
--- a/documentation/editor.html
+++ b/documentation/editor.html
@@ -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);