Skip to content

Instantly share code, notes, and snippets.

@tomprince
Created April 10, 2011 18:31
Show Gist options
  • Select an option

  • Save tomprince/912596 to your computer and use it in GitHub Desktop.

Select an option

Save tomprince/912596 to your computer and use it in GitHub Desktop.
diff --git a/gemrb/core/FileCache.cpp b/gemrb/core/FileCache.cpp
index 0be598d..7842eb6 100644
--- a/gemrb/core/FileCache.cpp
+++ b/gemrb/core/FileCache.cpp
@@ -32,6 +32,7 @@ DataStream* CacheCompressedStream(DataStream *stream, const char* filename, int
char fname[_MAX_PATH];
ExtractFileFromPath(fname, filename);
+ strlwr(fname);
char path[_MAX_PATH];
PathJoin(path, core->CachePath, fname, NULL);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment