David Rose 21 lat temu
rodzic
commit
9ede67f706
1 zmienionych plików z 6 dodań i 6 usunięć
  1. 6 6
      panda/src/pgui/pgEntry.cxx

+ 6 - 6
panda/src/pgui/pgEntry.cxx

@@ -721,18 +721,18 @@ update_text() {
       wstring source_wtext = get_display_wtext();
 
       display_wtext = source_wtext.substr(0, _cursor_position);
-      display_wtext += wstring(1, text_push_properties_key);
+      display_wtext += wstring(1, (wchar_t)text_push_properties_key);
       display_wtext += node->decode_text(_candidate_inactive);
-      display_wtext += wstring(1, text_push_properties_key);
+      display_wtext += wstring(1, (wchar_t)text_push_properties_key);
       display_wtext += _candidate_wtext.substr(0, _candidate_highlight_start);
-      display_wtext += wstring(1, text_push_properties_key);
+      display_wtext += wstring(1, (wchar_t)text_push_properties_key);
       display_wtext += node->decode_text(_candidate_active);
-      display_wtext += wstring(1, text_push_properties_key);
+      display_wtext += wstring(1, (wchar_t)text_push_properties_key);
       display_wtext += _candidate_wtext.substr(_candidate_highlight_start,
                                                _candidate_highlight_end - _candidate_highlight_start);
-      display_wtext += wstring(1, text_pop_properties_key);
+      display_wtext += wstring(1, (wchar_t)text_pop_properties_key);
       display_wtext += _candidate_wtext.substr(_candidate_highlight_end);
-      display_wtext += wstring(1, text_pop_properties_key);
+      display_wtext += wstring(1, (wchar_t)text_pop_properties_key);
 
       display_wtext += source_wtext.substr(_cursor_position);
     }