diff options
Diffstat (limited to 'src/fl_open_uri.cxx')
| -rw-r--r-- | src/fl_open_uri.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/fl_open_uri.cxx b/src/fl_open_uri.cxx index bfc31355f..f67dd7e82 100644 --- a/src/fl_open_uri.cxx +++ b/src/fl_open_uri.cxx @@ -45,9 +45,9 @@ // Local functions... // -#if !defined(WIN32) && !defined(__APPLE__) +#if !defined(WIN32) && !defined(__APPLE__) // PORTME: platform open doc static char *path_find(const char *program, char *filename, int filesize); -#endif // !WIN32 && !__APPLE__ +#endif // !WIN32 && !__APPLE__ // PORTME: platform open doc #ifndef WIN32 static int run_program(const char *program, char **argv, char *msg, int msglen); #endif // !WIN32 @@ -131,7 +131,7 @@ fl_open_uri(const char *uri, char *msg, int msglen) { return (int)(ShellExecute(HWND_DESKTOP, "open", uri, NULL, NULL, SW_SHOW) > (void *)32); -#elif defined(__APPLE__) +#elif defined(__APPLE__) // PORTME: platform open doc char *argv[3]; // Command-line arguments argv[0] = (char*)"open"; @@ -145,7 +145,7 @@ fl_open_uri(const char *uri, char *msg, int msglen) { #elif defined(FL_PORTING) # pragma message "FL_PORTING: add code to open any file type with an external app" -#else // !WIN32 && !__APPLE__ +#else // !WIN32 && !__APPLE__ // PORTME: platform open doc // Run any of several well-known commands to open the URI. // // We give preference to the Portland group's xdg-utils @@ -270,7 +270,7 @@ void fl_decode_uri(char *uri) /** @} */ -#if !defined(WIN32) && !defined(__APPLE__) +#if !defined(WIN32) && !defined(__APPLE__) // PORTME: platform open doc // Find a program in the path... static char *path_find(const char *program, char *filename, int filesize) { const char *path; // Search path @@ -302,7 +302,7 @@ static char *path_find(const char *program, char *filename, int filesize) { return 0; } -#endif // !WIN32 && !__APPLE__ +#endif // !WIN32 && !__APPLE__ // PORTME: platform open doc #ifndef WIN32 |
