summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
Diffstat (limited to 'Objects')
-rw-r--r--Objects/fileobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/fileobject.c b/Objects/fileobject.c
index 5099f3f..7ed4fcd 100644
--- a/Objects/fileobject.c
+++ b/Objects/fileobject.c
@@ -630,7 +630,7 @@ softspace(f, newflag)
if (f == NULL) {
/* Do nothing */
}
- if (is_fileobject(f)) {
+ else if (is_fileobject(f)) {
oldflag = ((fileobject *)f)->f_softspace;
((fileobject *)f)->f_softspace = newflag;
}