plugins: clean up from old code

Origin commit data
------------------
Branch: ni/coolstream
Commit: 89d911704f
Author: vanhofen <vanhofen@gmx.de>
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
This commit is contained in:
vanhofen
2019-05-11 00:21:20 +02:00
parent 6940da97c7
commit e751043b87

View File

@@ -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;