* Add newline at the end, remove end-of-line whitespace.
This commit is contained in:
jean.chalard
2008-12-13 05:28:31 +00:00
parent 104df0afa6
commit 6df5261294
5 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -33,4 +33,4 @@ public:
int percentVictories(string opponentsDeckFile); int percentVictories(string opponentsDeckFile);
}; };
#endif #endif
+1 -1
View File
@@ -772,4 +772,4 @@ void ActionStack::Dump(){
} }
#endif #endif
+2 -2
View File
@@ -443,6 +443,6 @@ JSample * MTGCardInstance::getSample(){
} }
if (sample.size()) return SampleCache::GetInstance()->getSample(sample); if (sample.size()) return SampleCache::GetInstance()->getSample(sample);
return NULL; return NULL;
} }
+1 -1
View File
@@ -51,4 +51,4 @@ string Subtypes::find(int id){
if (it->second == id) return it->first; if (it->second == id) return it->first;
} }
return NULL; return NULL;
} }
+2 -2
View File
@@ -135,7 +135,7 @@ JSample * SampleCache::getSample(string filename){
cleanCache(); cleanCache();
sample = JSoundSystem::GetInstance()->LoadSample(filename.c_str()); sample = JSoundSystem::GetInstance()->LoadSample(filename.c_str());
} }
cache[filename] = NEW SampleCached(lastTime, sample); cache[filename] = NEW SampleCached(lastTime, sample);
return sample; return sample;
}else{ }else{
@@ -170,4 +170,4 @@ void SampleCache::cleanCache(){
SampleCache::~SampleCache(){ SampleCache::~SampleCache(){
cleanCache(); cleanCache();
} }