mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-28 16:01:10 +02:00
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:
@@ -378,29 +378,13 @@ void CPlugins::startPlugin(int number)
|
|||||||
delScriptOutput();
|
delScriptOutput();
|
||||||
/* export neutrino settings to the environment */
|
/* export neutrino settings to the environment */
|
||||||
char tmp[32];
|
char tmp[32];
|
||||||
#if 0
|
|
||||||
sprintf(tmp, "%d", g_settings.screen_StartX_int);
|
|
||||||
#else
|
|
||||||
sprintf(tmp, "%d", g_settings.screen_StartX);
|
sprintf(tmp, "%d", g_settings.screen_StartX);
|
||||||
#endif
|
|
||||||
setenv("SCREEN_OFF_X", tmp, 1);
|
setenv("SCREEN_OFF_X", tmp, 1);
|
||||||
#if 0
|
|
||||||
sprintf(tmp, "%d", g_settings.screen_StartY_int);
|
|
||||||
#else
|
|
||||||
sprintf(tmp, "%d", g_settings.screen_StartY);
|
sprintf(tmp, "%d", g_settings.screen_StartY);
|
||||||
#endif
|
|
||||||
setenv("SCREEN_OFF_Y", tmp, 1);
|
setenv("SCREEN_OFF_Y", tmp, 1);
|
||||||
#if 0
|
|
||||||
sprintf(tmp, "%d", g_settings.screen_EndX_int);
|
|
||||||
#else
|
|
||||||
sprintf(tmp, "%d", g_settings.screen_EndX);
|
sprintf(tmp, "%d", g_settings.screen_EndX);
|
||||||
#endif
|
|
||||||
setenv("SCREEN_END_X", tmp, 1);
|
setenv("SCREEN_END_X", tmp, 1);
|
||||||
#if 0
|
|
||||||
sprintf(tmp, "%d", g_settings.screen_EndY_int);
|
|
||||||
#else
|
|
||||||
sprintf(tmp, "%d", g_settings.screen_EndY);
|
sprintf(tmp, "%d", g_settings.screen_EndY);
|
||||||
#endif
|
|
||||||
setenv("SCREEN_END_Y", tmp, 1);
|
setenv("SCREEN_END_Y", tmp, 1);
|
||||||
|
|
||||||
bool ispip = strstr(plugin_list[number].pluginfile.c_str(), "pip") != 0;
|
bool ispip = strstr(plugin_list[number].pluginfile.c_str(), "pip") != 0;
|
||||||
|
Reference in New Issue
Block a user