| 82 | |
| 83 | |
| 84 | ILboolean ILAPIENTRY iluSetLanguage(ILenum Language) |
| 85 | { |
| 86 | switch (Language) |
| 87 | { |
| 88 | case ILU_ENGLISH: |
| 89 | case ILU_ARABIC: |
| 90 | case ILU_DUTCH: |
| 91 | case ILU_FRENCH: |
| 92 | case ILU_JAPANESE: |
| 93 | case ILU_SPANISH: |
| 94 | case ILU_GERMAN: |
| 95 | case ILU_ITALIAN: |
| 96 | iluErrors = iluErrorStrings[Language - ILU_ENGLISH]; |
| 97 | iluLibErrors = iluLibErrorStrings[Language - ILU_ENGLISH]; |
| 98 | iluMiscErrors = iluMiscErrorStrings[Language - ILU_ENGLISH]; |
| 99 | break; |
| 100 | |
| 101 | default: |
| 102 | ilSetError(IL_INVALID_ENUM); |
| 103 | return IL_FALSE; |
| 104 | } |
| 105 | |
| 106 | return IL_TRUE; |
| 107 | } |
| 108 | |
| 109 |
nothing calls this directly
no test coverage detected