Overhaul plat_get_string()
Now takes constants with human-readable names instead of Win32 string table IDs, language.h is no longer needed ui_msgbox*() no longer accepts string IDs as arguments directly, plat_get_string() must be explicitly called to retrieve the string
This commit is contained in:
@@ -957,7 +957,7 @@ svga_recalctimings(svga_t *svga)
|
||||
video_blit_memtoscreen_monitor(x_start, y_start, svga->monitor->mon_xsize + x_add, svga->monitor->mon_ysize + y_add, svga->monitor_index);
|
||||
video_wait_for_buffer_monitor(svga->monitor_index);
|
||||
svga->dpms_ui = 1;
|
||||
ui_sb_set_text_w(plat_get_string(IDS_2143));
|
||||
ui_sb_set_text_w(plat_get_string(STRING_MONITOR_SLEEP));
|
||||
}
|
||||
} else if (svga->dpms_ui) {
|
||||
svga->dpms_ui = 0;
|
||||
|
||||
Reference in New Issue
Block a user