summaryrefslogtreecommitdiff
path: root/displaymenu.c
diff options
context:
space:
mode:
Diffstat (limited to 'displaymenu.c')
-rw-r--r--displaymenu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/displaymenu.c b/displaymenu.c
index 51e62b56..92015903 100644
--- a/displaymenu.c
+++ b/displaymenu.c
@@ -4237,7 +4237,7 @@ int cFlatDisplayMenu::DrawMainMenuWidgetSystemInformation(int wLeft, int wWidth,
contentWidget.AddRect(cRect(0, ContentTop, wWidth, 3), Theme.Color(clrMenuEventTitleLine));
ContentTop += 6;
- cString execFile = cString::sprintf("cd \"%s/system_information\"; \"%s/system_information/system_information\"", WIDGETFOLDER, WIDGETFOLDER);
+ cString execFile = cString::sprintf("\"%s/system_information/system_information\"", WIDGETFOLDER);
int r = system(*execFile);
r += 0; // prevent Warning for unused variable
@@ -4645,7 +4645,7 @@ int cFlatDisplayMenu::DrawMainMenuWidgetCommand(int wLeft, int wWidth, int Conte
if( ContentTop + fontHeight + 6 + fontSmlHeight > menuPixmap->ViewPort().Height() )
return -1;
- cString execFile = cString::sprintf("cd \"%s/command_output\"; \"%s/command_output/command\"", WIDGETFOLDER, WIDGETFOLDER);
+ cString execFile = cString::sprintf("\"%s/command_output/command\"", WIDGETFOLDER);
int r = system(*execFile);
r += 0; // prevent Warning for unused variable