Modified Mac OS X front-end to use version 3 cel URLs.

ver1_6_1
Chris Laurel 2008-10-22 22:45:13 +00:00
parent d716facf80
commit 3364545f68
1 changed files with 4 additions and 1 deletions

View File

@ -587,7 +587,10 @@ CelestiaCore *appCore;
-(NSString *) currentURL
{
Url currentUrl = Url(appCore, Url::Absolute);
CelestiaState appState;
appState.captureState(appCore);
Url currentUrl(appState, Url::CurrentVersion);
NSString *url = [ NSString stringWithStdString: currentUrl.getAsString() ];
return url;
}