From e73824cad971cb13028503384bfe4f2ec161f865 Mon Sep 17 00:00:00 2001 From: Thai Pangsakulyanont Date: Mon, 16 May 2011 23:35:40 +0700 Subject: [PATCH] [splittiming] it works (by swapping arguments) --- src/ScreenEdit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ScreenEdit.cpp b/src/ScreenEdit.cpp index 947bb54ee9..8929e4d2cd 100644 --- a/src/ScreenEdit.cpp +++ b/src/ScreenEdit.cpp @@ -2716,7 +2716,7 @@ void ScreenEdit::HandleScreenMessage( const ScreenMessage SM ) else if( SM == SM_BackFromTimeSignatureChange ) { int iNum, iDen; - if( sscanf( " %d / %d ", ScreenTextEntry::s_sLastAnswer.c_str(), &iNum, &iDen ) == 2 ) + if( sscanf( ScreenTextEntry::s_sLastAnswer.c_str(), " %d / %d ", &iNum, &iDen ) == 2 ) { GetAppropriateTiming().SetTimeSignatureNumeratorAtBeat( GetBeat(), iNum ); GetAppropriateTiming().SetTimeSignatureDenominatorAtBeat( GetBeat(), iDen );