• R/O
  • SSH
  • HTTPS

dtxmania: 提交


Commit MetaInfo

修订版273 (tree)
时间2011-12-23 17:00:32
作者yyagi

Log Message

[DTXV] #26010 #PAN EL (WAV番号=ELの#PAN)を#PANELと誤認識しないよう修正。

更改概述

差异

--- branches/111222(DTXViewer023 with #26977)/@FDK10プロジェクト/DTX.cpp (revision 272)
+++ branches/111222(DTXViewer023 with #26977)/@FDK10プロジェクト/DTX.cpp (revision 273)
@@ -771,11 +771,24 @@
771771 this->strMIDI = p;
772772 continue;
773773 }
774- // #PANEL
774+ // #PANEL
775+ TCHAR *q = p;
775776 if( IsCommand( &p, _T("PANEL") ) )
776777 {
777- this->strPanel = p;
778- continue;
778+ int isNotNum = 0; // #26010 2011.12.23 yyagi: #PAN EL (WAV?ԍ?=EL??#PAN)??#PANEL?ƌ?????Ȃ??悤?A
779+ for( int i = 0; i < strlen(p); i++) { // ?????????l???ǂ????𔻒f????
780+ if( !_istdigit( p[i] ) && p[i] != '-' && p[i] != '+' )
781+ {
782+ isNotNum = 1;
783+ break;
784+ }
785+ }
786+ if( isNotNum ) // ???????܂܂?Ă????Ȃ?#PANEL, ???l?݂̂Ȃ?#PAN
787+ {
788+ this->strPanel = p;
789+ continue;
790+ }
791+ p = q;
779792 }
780793 // #DTXVPLAYSPEED
781794 if( IsCommand( &p, _T("DTXVPLAYSPEED") ) && this->bDTXV )
Show on old repository browser