diff --git a/ChangeLog b/ChangeLog
index 0a0339f32fa74176e824a0ed00249c6e40a1dc53..bcfa220721db7733ca01456938f498b46fa89901 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,9 @@
 CVS code -
+- rcfile.c:
+  parse_rcfile()
+	- Add missing brackets around an if statement block so that
+	  parsing the numeric argument after "tabsize" works properly
+	  again. (DLR, found by Mike Frysinger)
 
 GNU nano 1.3.4 - 2004.08.17
 - General:
diff --git a/src/rcfile.c b/src/rcfile.c
index 20b9de255bec336ddda464b722ac4416b9590400..1f5d2adb1d5f5caf0c58659f865a99ce1775e28b 100644
--- a/src/rcfile.c
+++ b/src/rcfile.c
@@ -611,9 +611,10 @@ void parse_rcfile(FILE *rcstream)
 			    else
 #endif
 			    if (strcasecmp(rcopts[i].name, "tabsize") == 0) {
-				if (!parse_num(option, &tabsize) || tabsize <= 0)
+				if (!parse_num(option, &tabsize) || tabsize <= 0) {
 				    rcfile_error(N_("Requested tab size %s invalid"), option);
 				    tabsize = -1;
+				}
 			    }
 			} else
 			    SET(rcopts[i].flag);