summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2003-09-10 22:40:32 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2003-09-10 22:40:32 +0000
commitabf3c0f80afe12c46566e040a61884650d081793 (patch)
treec9e24e8fbabc00694214c34fd43c92e4d1bf3c33
parentb858507d907f340f056b2d79b7e77fde8d071a3b (diff)
downloadnetsurf-abf3c0f80afe12c46566e040a61884650d081793.tar.gz
netsurf-abf3c0f80afe12c46566e040a61884650d081793.tar.bz2
[project @ 2003-09-10 22:40:32 by jmb]
Fix Drawfile module check. Add else statement to box.c:788 svn path=/import/netsurf/; revision=282
-rw-r--r--!NetSurf/!Run,feb4
-rw-r--r--render/box.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/!NetSurf/!Run,feb b/!NetSurf/!Run,feb
index 2b970db7e..61463bbdf 100644
--- a/!NetSurf/!Run,feb
+++ b/!NetSurf/!Run,feb
@@ -15,8 +15,8 @@ RMEnsure UtilityModule 3.70 RMEnsure CallASWI 0.02 Error NetSurf requires the Ca
| Ensure DrawFile module is installed
| http://acorn.riscos.com/riscos/releases/drawfile.arc
| Should be installed in !System.310.Modules
-RMEnsure UtilityModule 3.50 RMEnsure DrawFile 1.30 RMLoad System:Modules.DrawFile
-RMEnsure UtilityModule 3.50 RMEnsure DrawFile 1.30 Error NetSurf requires the DrawFile module
+RMEnsure DrawFile 1.30 RMLoad System:Modules.DrawFile
+RMEnsure DrawFile 1.30 Error NetSurf requires the DrawFile module
| Ensure SharedUnixLibrary is installed
| http://www.chocky.org/unix/usage.html
diff --git a/render/box.c b/render/box.c
index bbe02c732..7b96669a4 100644
--- a/render/box.c
+++ b/render/box.c
@@ -785,7 +785,7 @@ struct result box_input(xmlNode *n, struct status *status,
}
}
- if (stricmp(type, "password") == 0)
+ else if (stricmp(type, "password") == 0)
{
box = box_create(style, NULL, 0);
box->gadget = gadget = xcalloc(1, sizeof(struct gui_gadget));