From fa504e062d73dfe4094d2df9d656e6f43b8ce9f2 Mon Sep 17 00:00:00 2001 From: Nedko Arnaudov Date: Wed, 14 Mar 2012 14:28:29 +0200 Subject: [PATCH] Remove broken open_url() hack. The embedded fltk version works fine. --- FL/About_Dialog.fl | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/FL/About_Dialog.fl b/FL/About_Dialog.fl index f27c8a6..994e3e2 100644 --- a/FL/About_Dialog.fl +++ b/FL/About_Dialog.fl @@ -13,15 +13,7 @@ decl {\#include } {private local Function {open_url( const char *url )} {open return_type void } { - code {\#if ! ( FL_MAJOR_VERSION >= 1 && FL_MINOR_VERSION >= 1 && FL_PATCH_VERSION >= 8 ) - - // FIXME: got a better idea? - char cmd[256]; - snprintf( cmd, sizeof( cmd ), "x-www-browser '%s' &", url ); - system( cmd ); -\#else - fl_open_uri( url ); -\#endif} {} + code {fl_open_uri( url );} {} } class About_Dialog {open