Squareline studio string comparison c code

I’m getting the following generated in SLS 1.2.3

if(“1234567890/” == “”) lv_textarea_set_accepted_chars(ui_DateTextArea, NULL);
else lv_textarea_set_accepted_chars(ui_DateTextArea, “1234567890/”);

is that a bug or a feature? I would normally use strcmp or even strncmp these days.

I guess I should explain further. My project is for Visual Studio 19 and that compiles OK as it can handle that string comparison, but I also point my embedded system at the code that is output and it will not compile that code.

Something like this shouldn’t be added to the exported code. We are looking into it.