From c3be9f221c236c594c80713b12daa9dd818aeacb Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Mon, 28 May 2018 13:37:40 -0400 Subject: [PATCH] Fixed a typo that led to CRLF bugs in uiMultilineEntry on Windows. Thanks to @mimecorg for spotting it. Update #359 --- windows/multilineentry.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/windows/multilineentry.cpp b/windows/multilineentry.cpp index 391f4855..1365e4e3 100644 --- a/windows/multilineentry.cpp +++ b/windows/multilineentry.cpp @@ -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