Changeset 8232 for trunk/psLib/src/astro/psSphereOps.c
- Timestamp:
- Aug 8, 2006, 1:32:23 PM (20 years ago)
- Location:
- trunk/psLib/src
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
astro/psSphereOps.c (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src
- Property svn:ignore
-
old new 10 10 libpslib.la.temp 11 11 config.h.in 12 psErrorText.h13 12 *.bb 14 13 *.bbg
-
- Property svn:ignore
-
trunk/psLib/src/astro/psSphereOps.c
r7914 r8232 8 8 * @author Dave Robbins, MHPCC 9 9 * 10 * @version $Revision: 1.1 4$ $Name: not supported by cvs2svn $11 * @date $Date: 2006-0 7-15 02:57:12 $10 * @version $Revision: 1.15 $ $Name: not supported by cvs2svn $ 11 * @date $Date: 2006-08-08 23:32:22 $ 12 12 * 13 13 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 25 25 #include "psError.h" 26 26 #include "psLogMsg.h" 27 #include "psErrorText.h" 27 28 28 29 29 … … 225 225 // Check the specified MJD is greater than 1900 226 226 if ( MJD < MJD_1900 ) { 227 psError(PS_ERR_BAD_PARAMETER_TYPE,true, PS_ERRORTEXT_psCoord_INVALID_MJD);227 psError(PS_ERR_BAD_PARAMETER_TYPE,true,_("Specified time is less than 1900.")); 228 228 return NULL; 229 229 } … … 252 252 // Check the specified MJD is greater than 1900 253 253 if ( MJD < MJD_1900 ) { 254 psError(PS_ERR_BAD_PARAMETER_TYPE,true, PS_ERRORTEXT_psCoord_INVALID_MJD);254 psError(PS_ERR_BAD_PARAMETER_TYPE,true,_("Specified time is less than 1900.")); 255 255 return NULL; 256 256 } … … 361 361 else { 362 362 psError(PS_ERR_BAD_PARAMETER_VALUE, true, 363 PS_ERRORTEXT_psCoord_UNITS_UNKNOWN,363 _("Specified units, 0x%x, is not supported."), 364 364 unit); 365 365 psFree(tmp); … … 370 370 } else { 371 371 psError(PS_ERR_BAD_PARAMETER_VALUE, true, 372 PS_ERRORTEXT_psCoord_OFFSET_MODE_UNKNOWN,372 _("Specified offset mode, 0x%x, is not supported."), 373 373 mode); 374 374 psFree(tmp); … … 432 432 } else { 433 433 psError(PS_ERR_BAD_PARAMETER_VALUE, true, 434 PS_ERRORTEXT_psCoord_UNITS_UNKNOWN,434 _("Specified units, 0x%x, is not supported."), 435 435 unit); 436 436 return NULL; … … 451 451 } else { 452 452 psError(PS_ERR_BAD_PARAMETER_VALUE, true, 453 PS_ERRORTEXT_psCoord_OFFSET_MODE_UNKNOWN,453 _("Specified offset mode, 0x%x, is not supported."), 454 454 mode); 455 455 return NULL;
Note:
See TracChangeset
for help on using the changeset viewer.
