commit 2032e6b8b83eb743f32ab25ba4c8d943332cfd70
parent e72f8f7772ce6775db19fd713dfa4eb4d9819689
Author: fundamental <[email protected]>
Date: Thu, 14 May 2015 11:18:41 -0400
Fix Previous Commit
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/Tests/PluginTest.h b/src/Tests/PluginTest.h
@@ -111,7 +111,7 @@ class PluginTest:public CxxTest::TestSuite
const string fname = string(SOURCE_DIR) + "/guitar-adnote.xmz";
const string fdata = loadfile(fname);
char *result = NULL;
- master[0]->putalldata((char*)fdata.c_str(), fdata.length());
+ master[0]->putalldata((char*)fdata.c_str());
int res = master[0]->getalldata(&result);
TS_ASSERT_EQUALS((int)(fdata.length()+1), res);
diff --git a/src/main.cpp b/src/main.cpp
@@ -432,7 +432,7 @@ int main(int argc, char *argv[])
if(!noui)
gui = GUI::createUi(middleware->spawnUiApi(), &Pexitprogram);
middleware->setUiCallback(GUI::raiseUi, gui);
- middleware->setIdleCallback([](){GUI::tickUi(gui);});
+ middleware->setIdleCallback([](void*){GUI::tickUi(gui);}, NULL);
if(!noui)
{