mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-17 20:52:36 +01:00
Cleanup.
This commit is contained in:
@@ -5,6 +5,8 @@
|
||||
|
||||
#include "imgui/imgui.h"
|
||||
#include "entry/entry.h"
|
||||
#include "entry/cmd.h"
|
||||
#include <bx/string.h>
|
||||
|
||||
bool showExampleDialog(entry::AppI* _app)
|
||||
{
|
||||
@@ -45,8 +47,9 @@ bool showExampleDialog(entry::AppI* _app)
|
||||
if (1 < num
|
||||
&& ImGui::Combo("Example", ¤t, items, num) )
|
||||
{
|
||||
entry::setRestartArgs(items[current]);
|
||||
restart = true;
|
||||
char command[1024];
|
||||
bx::snprintf(command, BX_COUNTOF(command), "app restart %s", items[current]);
|
||||
cmdExec(command);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user