Changeset 343 for branches


Ignore:
Timestamp:
Apr 2, 2010, 12:49:33 AM (12 years ago)
Author:
dmik
Message:

branches/kmk: Oops, convert UTF-8 to the system encoding when setting the contents of the entry field window.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/kmk/Lucide/gui/docViewer.cpp

    r342 r343  
    12891289
    12901290    const char *contents = textField->getContents( ev );
    1291     WinSetWindowText( hWndText, contents );
     1291    char *str = uniUtf8ToSys( contents, NULL, NULL );
     1292    WinSetWindowText( hWndText, str );
     1293    delete[] str;
     1294
    12921295    WinShowWindow( hWndText, TRUE );
    12931296    WinSetFocus( HWND_DESKTOP, hWndText );
Note: See TracChangeset for help on using the changeset viewer.