patch-vitunes_c 622 B

123456789101112131415161718192021
  1. $OpenBSD: patch-vitunes_c,v 1.1 2012/06/25 14:20:01 pascal Exp $
  2. --- vitunes.c.orig Sat Jun 23 13:30:24 2012
  3. +++ vitunes.c Sat Jun 23 13:31:18 2012
  4. @@ -168,13 +168,13 @@ main(int argc, char *argv[])
  5. ui.library->nrows = mdb.nplaylists;
  6. playing_playlist = NULL;
  7. - /* load config file and run commands in it now */
  8. - load_config();
  9. -
  10. /* start media player child */
  11. player_init(player_backend);
  12. player_info.mode = DEFAULT_PLAYER_MODE;
  13. atexit(player_destroy);
  14. +
  15. + /* load config file and run commands in it now */
  16. + load_config();
  17. /* initial painting of the display */
  18. paint_all();