Fix win32 build + clear inital path
This commit is contained in:
parent
9759faf765
commit
1ce2e3980d
@ -595,6 +595,7 @@ static void biasSelection(float value)
|
|||||||
|
|
||||||
if (selectLeft == selectRight && selectTop == selectBottom)
|
if (selectLeft == selectRight && selectTop == selectBottom)
|
||||||
{
|
{
|
||||||
|
int idx;
|
||||||
struct sync_track* track;
|
struct sync_track* track;
|
||||||
struct sync_track** tracks = getTracks();
|
struct sync_track** tracks = getTracks();
|
||||||
|
|
||||||
@ -603,7 +604,7 @@ static void biasSelection(float value)
|
|||||||
|
|
||||||
track = tracks[getActiveTrack()];
|
track = tracks[getActiveTrack()];
|
||||||
|
|
||||||
int idx = sync_find_key(track, getRowPos());
|
idx = sync_find_key(track, getRowPos());
|
||||||
|
|
||||||
if (idx < 0)
|
if (idx < 0)
|
||||||
{
|
{
|
||||||
@ -928,6 +929,8 @@ static bool onSaveAs()
|
|||||||
text_t path[2048];
|
text_t path[2048];
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
|
memset(path, 0, sizeof(path));
|
||||||
|
|
||||||
if (!(ret = LoadSave_saveRocketXMLDialog(path, getTrackData())))
|
if (!(ret = LoadSave_saveRocketXMLDialog(path, getTrackData())))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user