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