diff options
author | Julian Eisel <julian@blender.org> | 2020-03-16 20:13:37 +0300 |
---|---|---|
committer | Julian Eisel <julian@blender.org> | 2020-03-16 20:13:37 +0300 |
commit | d2ef342b2a50a7eac725889708fd689ffa126e25 (patch) | |
tree | d6606e846b40bf517ab13477003e5e556ae26b66 /source/blender/editors/space_text/text_format_py.c | |
parent | cb6cec904fa14ce0ab10a2a53af5c936d56376cf (diff) | |
parent | e42f61dda8b635511f083c09ccda5db9d28ec172 (diff) |
Merge branch 'master' into temp-openxr-ghostxr
Diffstat (limited to 'source/blender/editors/space_text/text_format_py.c')
-rw-r--r-- | source/blender/editors/space_text/text_format_py.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_text/text_format_py.c b/source/blender/editors/space_text/text_format_py.c index 48c522c5e1b..1e628bbc39b 100644 --- a/source/blender/editors/space_text/text_format_py.c +++ b/source/blender/editors/space_text/text_format_py.c @@ -291,7 +291,7 @@ static int txtfmt_py_literal_numeral(const char *string, char prev_fmt) } /* Previous was a number; if immediately followed by '.' it's a floating point decimal number. * Note: keep the decimal point, it's needed to allow leading zeros. */ - if ((prev_fmt == FMT_TYPE_NUMERAL) && (first == '.')) { + if (first == '.') { return txtfmt_py_find_numeral_inner(string); } /* "Imaginary" part of a complex number ends with 'j' */ |