Mercurial > mplayer.hg
changeset 35627:51358e7bde85
Cosmetic: Add and adjust comments.
author | ib |
---|---|
date | Thu, 10 Jan 2013 10:48:27 +0000 |
parents | c4954e899b5b |
children | df90b5c825f7 |
files | gui/interface.c |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/gui/interface.c Thu Jan 10 10:47:17 2013 +0000 +++ b/gui/interface.c Thu Jan 10 10:48:27 2013 +0000 @@ -81,6 +81,8 @@ mp_msg(MSGT_GPLAYER, MSGL_V, "GUI init.\n"); + /* check options */ + if (!cdrom_device) cdrom_device = strdup(DEFAULT_CDROM_DEVICE); if (!dvd_device) @@ -106,7 +108,8 @@ gtkASS.top_margin = ass_top_margin; gtkASS.bottom_margin = ass_bottom_margin; - /* initialize X */ + /* initialize graphical user interfaces */ + wsXInit(mDisplay); gtkInit();