Fixed a typo that led to CRLF bugs in uiMultilineEntry on Windows. Thanks to @mimecorg for spotting it.
Update #359
This commit is contained in:
parent
0da7b3fceb
commit
c3be9f221c
|
@ -75,7 +75,7 @@ void uiMultilineEntrySetText(uiMultilineEntry *e, const char *text)
|
|||
// doing this raises an EN_CHANGED
|
||||
e->inhibitChanged = TRUE;
|
||||
crlf = LFtoCRLF(text);
|
||||
uiWindowsSetWindowText(e->hwnd, text);
|
||||
uiWindowsSetWindowText(e->hwnd, crlf);
|
||||
uiprivFree(crlf);
|
||||
e->inhibitChanged = FALSE;
|
||||
// don't queue the control for resize; entry sizes are independent of their contents
|
||||
|
|
Loading…
Reference in New Issue