From: <ai...@us...> - 2013-11-27 18:22:42
|
Revision: 12771 http://sourceforge.net/p/plplot/code/12771 Author: airwin Date: 2013-11-27 18:22:39 +0000 (Wed, 27 Nov 2013) Log Message: ----------- Style previous commit. Modified Paths: -------------- trunk/src/plmap.c Modified: trunk/src/plmap.c =================================================================== --- trunk/src/plmap.c 2013-11-27 18:16:31 UTC (rev 12770) +++ trunk/src/plmap.c 2013-11-27 18:22:39 UTC (rev 12771) @@ -51,7 +51,7 @@ OpenShapeFile( const char *fn ); static void -CustomErrors(const char *message); +CustomErrors( const char *message ); #endif @@ -476,9 +476,9 @@ // Our thanks to Frank Warmerdam, the developer of shapelib for suggesting // this approach for quieting shapelib "Unable to open" error messages. static -void CustomErrors(const char *message) +void CustomErrors( const char *message ) { - if (strstr(message,"Unable to open") == NULL) + if ( strstr( message, "Unable to open" ) == NULL ) fprintf( stderr, "%s\n", message ); } @@ -487,8 +487,8 @@ { SHPHandle file; char *fs = NULL, *dn = NULL; -#ifdef HAVE_SAHOOKS - SAHooks sHooks; +#ifdef HAVE_SAHOOKS + SAHooks sHooks; SASetupDefaultHooks( &sHooks ); sHooks.Error = CustomErrors; @@ -497,7 +497,7 @@ // For this case live with the misleading "Unable to open" error // messages. int sHooks; -#define SHPOpenLL(a, b, c) SHPOpen(a, b) +#define SHPOpenLL( a, b, c ) SHPOpen( a, b ) #endif //*** search build tree *** This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |