X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Ftrunk%2Fsrc%2Fgtkmm%2Fapp.cpp;h=277cc80397285872c35f129a380e4b5e25eb7f46;hb=e8a065f2385c219c511b57dac52786120bfa097d;hp=7295b3eabb764313223988baa862240a464a2068;hpb=02252941b29de64037116f4d37991a38d9ff0d94;p=synfig.git diff --git a/synfig-studio/trunk/src/gtkmm/app.cpp b/synfig-studio/trunk/src/gtkmm/app.cpp index 7295b3e..277cc80 100644 --- a/synfig-studio/trunk/src/gtkmm/app.cpp +++ b/synfig-studio/trunk/src/gtkmm/app.cpp @@ -450,6 +450,7 @@ int v_key_check(const char* key, U32* serial, U32 appid) int check_license(String basedir) { +#ifdef LICENSE_KEY_REQUIRED String key; String license_file; @@ -488,6 +489,9 @@ int check_license(String basedir) } synfig::info("License Authenticated -- Serial #%05d",serial); return serial; +#else + return 1; +#endif } /*