Bläddra i källkod

Using get_url_to_first_open_port() in cocoa build

Sergey Lyubka 12 år sedan
förälder
incheckning
81e21a3a0b
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      main.c

+ 1 - 1
main.c

@@ -804,7 +804,7 @@ int WINAPI WinMain(HINSTANCE hInst, HINSTANCE hPrev, LPSTR cmdline, int show) {
 - (void) openBrowser {
   [[NSWorkspace sharedWorkspace]
     openURL:[NSURL URLWithString:
-      [NSString stringWithUTF8String:"http://www.yahoo.com"]]];
+      [NSString stringWithUTF8String:get_url_to_first_open_port(ctx)]]];
 }
 - (void) editConfig {
   create_config_file(config_file);