From a6e2bf8e2dd2b6feaa2c3f72735aa067d0085175 Mon Sep 17 00:00:00 2001 From: TTimo Date: Fri, 24 Dec 2010 19:04:32 +0000 Subject: [PATCH] misc project file fixes from trunk (e.g. rev 345). fixes the 'missing MSVCR90.DLL' absurdity git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/branches/Rambetter-temp-fixes@357 8a3a26a2-13c4-0310-b231-cf6edde360e5 --- contrib/camera/camera.def | 1 - contrib/camera/camera_VC9.vcproj | 6 ++++-- plugins/entity/entity.def | 1 - plugins/entity/entity_VC9.vcproj | 2 ++ plugins/image/image.def | 1 - plugins/image/image_VC9.vcproj | 1 + plugins/imagepng/imagepng.def | 1 - plugins/imagepng/imagepng_VC9.vcproj | 2 ++ plugins/map/map.def | 3 +-- plugins/map/map_VC9.vcproj | 2 ++ plugins/mapxml/mapxml.def | 1 - plugins/mapxml/mapxml_VC9.vcproj | 2 ++ plugins/model/model.def | 1 - plugins/model/model_VC9.vcproj | 2 ++ plugins/shaders/shaders.def | 1 - plugins/shaders/shaders_VC9.vcproj | 2 ++ plugins/surface/surface.def | 1 - plugins/surface/surface_VC9.vcproj | 6 ++++-- plugins/vfspk3/vfspk3.def | 1 - plugins/vfspk3/vfspk3_VC9.vcproj | 2 ++ radiant/file.cpp | 2 +- radiant/gtkdlgs.cpp | 2 +- radiant/mainframe.cpp | 2 +- radiant/preferences.cpp | 13 ++++++++++--- radiant/radiant_VC9.vcproj | 20 ++++++++++---------- tools/quake3/q3map2/q3map2_VC9.vcproj | 1 + 26 files changed, 48 insertions(+), 31 deletions(-) diff --git a/contrib/camera/camera.def b/contrib/camera/camera.def index 6a597438..ddec12c7 100644 --- a/contrib/camera/camera.def +++ b/contrib/camera/camera.def @@ -1,7 +1,6 @@ ; camera.def : Declares the module parameters for the DLL. LIBRARY "CAMERA" -DESCRIPTION 'CAMERA Windows Dynamic Link Library' EXPORTS ; Explicit exports can go here diff --git a/contrib/camera/camera_VC9.vcproj b/contrib/camera/camera_VC9.vcproj index e10dbd77..bf1b24cd 100755 --- a/contrib/camera/camera_VC9.vcproj +++ b/contrib/camera/camera_VC9.vcproj @@ -40,7 +40,7 @@ #define X_OK 0 @@ -3359,7 +3366,7 @@ void CGameInstall::BuildDialog() { void CGameInstall::Run() { ScanGames(); - if (m_availGames[0] == GAME_NONE) { + if ( m_availGames[0] == GAME_NONE ) { return; } if ( DoModal() == IDCANCEL ) { @@ -3375,8 +3382,8 @@ void CGameInstall::Run() { gameFilePath += ".game"; Sys_Printf( "game file: %s\n", gameFilePath.GetBuffer() ); - FILE *fg = fopen( gameFilePath.GetBuffer(), "w" ); - if ( fg == NULL || ferror( fg ) ) { + FILE * fg = fopen( gameFilePath.GetBuffer(), "w" ); + if ( fg == NULL ) { Error( "Failed to open %s for writing\n", gameFilePath.GetBuffer() ); } fprintf( fg, "\n diff --git a/tools/quake3/q3map2/q3map2_VC9.vcproj b/tools/quake3/q3map2/q3map2_VC9.vcproj index 989e00c6..2c4799bf 100755 --- a/tools/quake3/q3map2/q3map2_VC9.vcproj +++ b/tools/quake3/q3map2/q3map2_VC9.vcproj @@ -62,6 +62,7 @@ />