Skip to content

Commit 62b0279

Browse files
kiwi1969WDrijver
andauthored
Fix with setting CMD_SMARTWRAP inadvertently (#135)
Missing break statement caused SMARTWRAP to be turned on inadvertently whenever WORDWRAP was enabled Co-authored-by: Willem Drijver <60568860+WDrijver@users.noreply.github.com>
1 parent 995a5da commit 62b0279

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • workbench/classes/datatypes/amigaguide

workbench/classes/datatypes/amigaguide/file.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -373,6 +373,7 @@ void ScanFile(Class *cl, Object *obj, struct AmigaGuideFile *agf)
373373
case CMD_WORDWRAP:
374374
DB(("set wordwrap !\n"));
375375
agf->agf_Flags.WordWrap = TRUE;
376+
break;
376377
case CMD_SMARTWRAP:
377378
DB(("set smartwrap !\n"));
378379
agf->agf_Flags.SmartWrap = TRUE;

0 commit comments

Comments
 (0)