diff options
Diffstat (limited to 'source/blender/editors/space_text/text_format.c')
-rw-r--r-- | source/blender/editors/space_text/text_format.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/source/blender/editors/space_text/text_format.c b/source/blender/editors/space_text/text_format.c index bdbf55d9198..d099f2a20d8 100644 --- a/source/blender/editors/space_text/text_format.c +++ b/source/blender/editors/space_text/text_format.c @@ -222,10 +222,9 @@ TextFormatType *ED_text_format_get(Text *text) * the "default" text format */ return tft_lb.first; } - else { - /* Return the "default" text format */ - return tft_lb.first; - } + + /* Return the "default" text format */ + return tft_lb.first; } bool ED_text_is_syntax_highlight_supported(Text *text) |