Search
lxdream.org :: lxdream/src/cocoaui/cocoa_win.m :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/cocoaui/cocoa_win.m
changeset 1098:4f2750753a6c
prev1028:f99eeaf084c2
next1298:d0eb2307b847
author nkeynes
date Sun Jan 31 18:36:06 2010 +1000 (10 years ago)
permissions -rw-r--r--
last change Show '<no disc>' in the title bar when there is no cdrom disc attached
file annotate diff log raw
1.1 --- a/src/cocoaui/cocoa_win.m Sun Jun 14 11:44:19 2009 +0000
1.2 +++ b/src/cocoaui/cocoa_win.m Sun Jan 31 18:36:06 2010 +1000
1.3 @@ -179,7 +179,7 @@
1.4 NSString *title;
1.5 const char *disc_title = gdrom_get_current_disc_title();
1.6 if( disc_title == NULL ) {
1.7 - title = [NSString stringWithCString: lxdream_package_name];
1.8 + title = [NSString stringWithFormat: @"%s - <no disc>", lxdream_package_name];
1.9 } else {
1.10 title = [NSString stringWithFormat: @"%s - %s", lxdream_package_name, disc_title];
1.11 }
.