From 102a2e7a8ea53bded8a3ab8290d81f00418f3afa Mon Sep 17 00:00:00 2001 From: Jason Felds Date: Thu, 26 May 2011 14:41:52 -0400 Subject: [PATCH] empty() test confirmed. Now, time for the looping process. --- src/AdjustSync.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/AdjustSync.cpp b/src/AdjustSync.cpp index 91d5f38575..45cc445d27 100644 --- a/src/AdjustSync.cpp +++ b/src/AdjustSync.cpp @@ -56,7 +56,7 @@ int AdjustSync::s_iStepsFiltered = 0; void AdjustSync::ResetOriginalSyncData() { // TODO: Reset the vector if not in a song? - if( s_pTimingDataOriginal == NULL ) + if( s_vpTimingDataOriginal.empty() ) { s_pTimingDataOriginal = new TimingData; s_vpTimingDataOriginal.clear(); // sanity check for now.