diff options
author | Campbell Barton <campbell@blender.org> | 2022-10-29 04:05:16 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-10-29 04:07:42 +0300 |
commit | 2c9fe719e68a81801fa490e980df1f3c09eb1db0 (patch) | |
tree | 86799359e8e8adc976f7cf10b6e553eef5914b78 /source/blender/editors/interface | |
parent | f9113b7eb6ee0e7a6222bd6fbc7e39cb9c6fc395 (diff) |
Cleanup: use STREQ macro
Diffstat (limited to 'source/blender/editors/interface')
-rw-r--r-- | source/blender/editors/interface/interface_handlers.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/interface/interface_handlers.c b/source/blender/editors/interface/interface_handlers.c index 34f33b71fb8..7b6a623f53e 100644 --- a/source/blender/editors/interface/interface_handlers.c +++ b/source/blender/editors/interface/interface_handlers.c @@ -3894,7 +3894,7 @@ static void ui_do_but_textedit( } if (event->type == WM_IME_COMPOSITE_EVENT && ime_data->result_len) { if (ELEM(but->type, UI_BTYPE_NUM, UI_BTYPE_NUM_SLIDER) && - strcmp(ime_data->str_result, "\xE3\x80\x82") == 0) { + STREQ(ime_data->str_result, "\xE3\x80\x82")) { /* Convert Ideographic Full Stop (U+3002) to decimal point when entering numbers. */ ui_textedit_insert_ascii(but, data, '.'); } |