Page MenuHome

windows_thumbnails.patch

Authored By
Caleb (dobz116)
Nov 13 2013, 2:33 PM
Size
623 B
Subscribers
None

windows_thumbnails.patch

Index: source/blender/imbuf/intern/thumbs.c
===================================================================
--- source/blender/imbuf/intern/thumbs.c (revision 33028)
+++ source/blender/imbuf/intern/thumbs.c (working copy)
@@ -66,8 +66,8 @@
static int get_thumb_dir( char* dir , ThumbSize size)
{
#ifdef WIN32
- /* yes, applications shouldn't store data there, but so does GIMP :)*/
- SHGetSpecialFolderPath(0, dir, CSIDL_PROFILE, 0);
+ /* This stores thumbnails into Application Data on Windows */
+ SHGetSpecialFolderPath(0, dir, CSIDL_APPDATA, 0);
#else
char* home = getenv("HOME");
if (!home) return 0;

File Metadata

Mime Type
text/x-diff
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
a0/82/f11339102be360a89893a834d86d

Event Timeline