- fix for missing include dir in MSVC 7 project files

- small warning fix for unreferenced variable.
This commit is contained in:
Andrea Weikert 2007-08-19 11:15:33 +00:00
parent dbef15f99e
commit b1c47f4159
2 changed files with 3 additions and 3 deletions

@ -74,7 +74,7 @@
<Tool <Tool
Name="VCCLCompilerTool" Name="VCCLCompilerTool"
Optimization="0" Optimization="0"
AdditionalIncludeDirectories="..\..\..\..\lib\windows\freetype\include;..\..\..\..\build\msvc_7\extern\ftgl\include;..\..\..\..\lib\windows\gettext\include;..\..\..\source\blender\blenlib;..\..\..\source\blender\makesdna" AdditionalIncludeDirectories="..\..\..\..\lib\windows\freetype\include;..\..\..\..\build\msvc_7\extern\ftgl\include;..\..\..\..\lib\windows\gettext\include;..\..\..\source\blender\blenlib;..\..\..\source\blender\makesdna;..\..\..\source\blender\include"
PreprocessorDefinitions="WIN32,_DEBUG,_LIB,WCHAR_T16,HAVE_LC_MESSAGES,FTGL_LIBRARY_STATIC" PreprocessorDefinitions="WIN32,_DEBUG,_LIB,WCHAR_T16,HAVE_LC_MESSAGES,FTGL_LIBRARY_STATIC"
BasicRuntimeChecks="3" BasicRuntimeChecks="3"
RuntimeLibrary="1" RuntimeLibrary="1"

@ -1226,7 +1226,7 @@ static void write_images(WriteData *wd, ListBase *idbase)
{ {
Image *ima; Image *ima;
PackedFile * pf; PackedFile * pf;
PreviewImage *prv;
ima= idbase->first; ima= idbase->first;
while(ima) { while(ima) {
@ -1242,7 +1242,7 @@ static void write_images(WriteData *wd, ListBase *idbase)
} }
if (ima->preview) { if (ima->preview) {
prv = ima->preview; PreviewImage *prv = ima->preview;
writestruct(wd, DATA, "PreviewImage", 1, prv); writestruct(wd, DATA, "PreviewImage", 1, prv);
writedata(wd, DATA, prv->w*prv->h*sizeof(unsigned int), prv->rect); writedata(wd, DATA, prv->w*prv->h*sizeof(unsigned int), prv->rect);
} }