From e751043b87f0b1ef28f386b073421f378148ccb5 Mon Sep 17 00:00:00 2001 From: vanhofen Date: Sat, 11 May 2019 00:21:20 +0200 Subject: [PATCH] plugins: clean up from old code Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/89d911704fb59c1a0707c6a333863edff4885582 Author: vanhofen Date: 2019-05-11 (Sat, 11 May 2019) Origin message was: ------------------ - plugins: clean up from old code ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/gui/plugins.cpp | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/src/gui/plugins.cpp b/src/gui/plugins.cpp index e1b0b3986..8315709db 100644 --- a/src/gui/plugins.cpp +++ b/src/gui/plugins.cpp @@ -378,29 +378,13 @@ void CPlugins::startPlugin(int number) delScriptOutput(); /* export neutrino settings to the environment */ char tmp[32]; -#if 0 - sprintf(tmp, "%d", g_settings.screen_StartX_int); -#else sprintf(tmp, "%d", g_settings.screen_StartX); -#endif setenv("SCREEN_OFF_X", tmp, 1); -#if 0 - sprintf(tmp, "%d", g_settings.screen_StartY_int); -#else sprintf(tmp, "%d", g_settings.screen_StartY); -#endif setenv("SCREEN_OFF_Y", tmp, 1); -#if 0 - sprintf(tmp, "%d", g_settings.screen_EndX_int); -#else sprintf(tmp, "%d", g_settings.screen_EndX); -#endif setenv("SCREEN_END_X", tmp, 1); -#if 0 - sprintf(tmp, "%d", g_settings.screen_EndY_int); -#else sprintf(tmp, "%d", g_settings.screen_EndY); -#endif setenv("SCREEN_END_Y", tmp, 1); bool ispip = strstr(plugin_list[number].pluginfile.c_str(), "pip") != 0;