filename | src/cocoaui/cocoa_win.m |
changeset | 1098:4f2750753a6c |
prev | 1028:f99eeaf084c2 |
next | 1298:d0eb2307b847 |
author | nkeynes |
date | Sun Jan 31 18:36:06 2010 +1000 (12 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 +00001.2 +++ b/src/cocoaui/cocoa_win.m Sun Jan 31 18:36:06 2010 +10001.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 }
.