| 37 | |
| 38 | |
| 39 | inline bool CmpMSGID(MSGID i1,MSGID i2) |
| 40 | { |
| 41 | #ifdef MSGID_INT |
| 42 | return i1==i2; |
| 43 | #else |
| 44 | // If MSGID is const char*, we cannot compare pointers only. |
| 45 | // Pointers to different instances of same string can differ, |
| 46 | // so we need to compare complete strings. |
| 47 | return wcscmp(i1,i2)==0; |
| 48 | #endif |
| 49 | } |
| 50 | |
| 51 | void CommandData::OutHelp(RAR_EXIT ExitCode) |
| 52 | { |