diff src/index.cpp @ 8:4967d1e2b30c

Alert when not mask in batch print mode.
author pyon@macmini
date Fri, 01 Nov 2013 18:44:37 +0900
parents 7ac7d28699af
children 29021e6e1ebe
line wrap: on
line diff
--- a/src/index.cpp	Thu Oct 17 19:54:23 2013 +0900
+++ b/src/index.cpp	Fri Nov 01 18:44:37 2013 +0900
@@ -1,5 +1,5 @@
 // Filename   : index.cpp
-// Last Change: 16-Oct-2013.
+// Last Change: 01-Nov-2013.
 //
 
 #include "index.h"
@@ -91,13 +91,13 @@
 
 
     wxString date = dt.Format( wxT("%Y%m%d") );
-    wxString datedir = m_rootdir + wxFILE_SEP_PATH + year + wxFILE_SEP_PATH + date;
-    if ( !wxDir::Exists( datedir ) ) {
-        wxMessageBox( wxT("フォルダが存在しません.") + datedir );
+    wxString datadir = m_rootdir + wxFILE_SEP_PATH + year + wxFILE_SEP_PATH + date;
+    if ( !wxDir::Exists( datadir ) ) {
+        wxMessageBox( wxT("フォルダが存在しません.") + datadir );
         return;
     }
 
-    UpdateIndex( datedir, date );
+    UpdateIndex( datadir, date );
 
     UpdateList();
     wxMessageBox( wxT("インデックス作成が終了しました.") );