OLD | NEW |
1 /***************************************************************************/ | 1 /***************************************************************************/ |
2 /* */ | 2 /* */ |
3 /* cf2error.c */ | 3 /* cf2error.c */ |
4 /* */ | 4 /* */ |
5 /* Adobe's code for error handling (body). */ | 5 /* Adobe's code for error handling (body). */ |
6 /* */ | 6 /* */ |
7 /* Copyright 2006-2013 Adobe Systems Incorporated. */ | 7 /* Copyright 2006-2013 Adobe Systems Incorporated. */ |
8 /* */ | 8 /* */ |
9 /* This software, and all works of authorship, whether in source or */ | 9 /* This software, and all works of authorship, whether in source or */ |
10 /* object code form as indicated by the copyright notice(s) included */ | 10 /* object code form as indicated by the copyright notice(s) included */ |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 FT_LOCAL_DEF( void ) | 43 FT_LOCAL_DEF( void ) |
44 cf2_setError( FT_Error* error, | 44 cf2_setError( FT_Error* error, |
45 FT_Error value ) | 45 FT_Error value ) |
46 { | 46 { |
47 if ( error && *error == 0 ) | 47 if ( error && *error == 0 ) |
48 *error = value; | 48 *error = value; |
49 } | 49 } |
50 | 50 |
51 | 51 |
52 /* END */ | 52 /* END */ |
OLD | NEW |