Mercurial > mercurial > hgweb_searcher03.cgi
comparison src/cache.cpp @ 18:a8e6e5769e3b
Small fixes.
author | pyon@macmini |
---|---|
date | Sat, 29 Nov 2014 11:02:35 +0900 |
parents | 52958cd4a073 |
children | a2ad87cad48b |
comparison
equal
deleted
inserted
replaced
17:acb59fbbe5ee | 18:a8e6e5769e3b |
---|---|
1 // Filename : cache.cpp | 1 // Filename : cache.cpp |
2 // Last Change: 08-May-2014. | 2 // Last Change: 21-Nov-2014. |
3 // | 3 // |
4 | 4 |
5 #include "cache.h" | 5 #include "cache.h" |
6 #include "db.h" | 6 #include "db.h" |
7 | 7 |
78 | 78 |
79 wxFileName tf( buf ); | 79 wxFileName tf( buf ); |
80 if ( !tf.Exists() ) tf.Mkdir( wxS_DIR_DEFAULT, wxPATH_MKDIR_FULL ); | 80 if ( !tf.Exists() ) tf.Mkdir( wxS_DIR_DEFAULT, wxPATH_MKDIR_FULL ); |
81 output.SaveFile( buf, wxBITMAP_TYPE_PNG ); | 81 output.SaveFile( buf, wxBITMAP_TYPE_PNG ); |
82 } | 82 } |
83 | 83 wxSleep( 30 ); |
84 } | 84 } |
85 | 85 |
86 wxMessageBox( wxT("cache updated.") ); | 86 wxMessageBox( wxT("cache updated.") ); |
87 } | 87 } |
88 | 88 |