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;