Advertisement
Guest User

Untitled

a guest
Feb 19th, 2020
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.30 KB | None | 0 0
  1. src/main.c | 4 ++--
  2. 1 file changed, 2 insertions(+), 2 deletions(-)
  3.  
  4. diff --git a/src/main.c b/src/main.c
  5. index 35ba3af..396ced9 100755
  6. --- a/src/main.c
  7. +++ b/src/main.c
  8. @@ -999,7 +999,7 @@ int eof_set_display_mode(unsigned long width, unsigned long height)
  9. }
  10.  
  11. if(set_gfx_mode(GFX_AUTODETECT_WINDOWED, effectivewidth, effectiveheight, 0, 0))
  12. - { //If the specified window size could not be set, try again
  13. + { //If the specified window size could not be set, try again in full screen mode
  14. if(set_gfx_mode(GFX_AUTODETECT, effectivewidth, effectiveheight, 0, 0))
  15. { //If it failed again
  16. if(eof_screen_zoom)
  17. @@ -4278,7 +4278,6 @@ int eof_initialize(int argc, char * argv[])
  18. ch_sp_path_worker_logging = 1;
  19. }
  20.  
  21. - set_window_title("EOF - No Song");
  22. if(!ch_sp_path_worker)
  23. { //Don't bother setting up the sound system if EOF is acting as a worker process
  24. if(install_sound(DIGI_AUTODETECT, MIDI_AUTODETECT, NULL))
  25. @@ -4415,6 +4414,7 @@ int eof_initialize(int argc, char * argv[])
  26. }
  27. }
  28. }
  29. + set_window_title("EOF - No Song"); //Now that the window exists, set its title
  30. eof_window_info = eof_window_note_lower_left; //By default, the info panel is at the lower left corner
  31. eof_menu_edit_zoom_level(eof_zoom_backup); //Apply the zoom level loaded from the config file
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement