diff --git a/Projects/CodeBlocks/SleepyHead.depend b/Projects/CodeBlocks/SleepyHead.depend index e4000913..4bded8f7 100644 --- a/Projects/CodeBlocks/SleepyHead.depend +++ b/Projects/CodeBlocks/SleepyHead.depend @@ -8304,7 +8304,7 @@ -1307671170 /home/mark/projects/git/sleepyhead/src/version.h +1307681539 /home/mark/projects/git/sleepyhead/src/version.h 1307627540 /home/mark/projects/git/sleepyhead/src/libs/sleeplib/prs1_loader.h "machine.h" @@ -8322,7 +8322,7 @@ "preferences.h" "tinyxml/tinyxml.h" -1307627613 source:/home/mark/projects/git/sleepyhead/src/SleepyHeadMain.cpp +1307671169 source:/home/mark/projects/git/sleepyhead/src/SleepyHeadMain.cpp "wx_pch.h" "version.h" @@ -8342,7 +8342,7 @@ "sleeplib/profiles.h" "sleeplib/machine_loader.h" -1307632925 source:/home/mark/projects/git/sleepyhead/src/graphs/graph.cpp +1307681527 source:/home/mark/projects/git/sleepyhead/src/graphs/graph.cpp diff --git a/src/graphs/graph.cpp b/src/graphs/graph.cpp index adf811cd..6bb3f327 100644 --- a/src/graphs/graph.cpp +++ b/src/graphs/graph.cpp @@ -1630,10 +1630,10 @@ void gLineChart::Plot(wxDC & dc, gGraphWindow & w) dp++; //dc.DrawLine(start_px+i, start_py+, start_px+i, start_py+m_drawlist[i].y); } - if (dp>0) dc.DrawLines(dp,screen); + if (dp>1) dc.DrawLines(dp,screen); // need at least two points } else { - if (dp>0) dc.DrawLines(dp,m_drawlist); + if (dp>1) dc.DrawLines(dp,m_drawlist); // need at least two points } } dc.DestroyClippingRegion(); diff --git a/src/version.h b/src/version.h index a1be4b93..4b51327e 100644 --- a/src/version.h +++ b/src/version.h @@ -16,14 +16,14 @@ namespace AutoVersion{ //Standard Version Type static const long MAJOR = 0; static const long MINOR = 7; - static const long BUILD = 4242; - static const long REVISION = 6367; + static const long BUILD = 4245; + static const long REVISION = 6382; //Miscellaneous Version Types - static const long BUILDS_COUNT = 2749; - #define RC_FILEVERSION 0,7,4242,6367 - #define RC_FILEVERSION_STRING "0, 7, 4242, 6367\0" - static const char FULLVERSION_STRING[] = "0.7.4242.6367"; + static const long BUILDS_COUNT = 2756; + #define RC_FILEVERSION 0,7,4245,6382 + #define RC_FILEVERSION_STRING "0, 7, 4245, 6382\0" + static const char FULLVERSION_STRING[] = "0.7.4245.6382"; //These values are to keep track of your versioning state, don't modify them. static const long BUILD_HISTORY = 0;