| 260 | //============================================================================= |
| 261 | |
| 262 | void C_NameKeys (char *str, int first, int second) |
| 263 | { |
| 264 | int c = 0; |
| 265 | |
| 266 | *str = 0; |
| 267 | if (second == first) second = 0; |
| 268 | if (first) |
| 269 | { |
| 270 | c++; |
| 271 | strcpy (str, KeyName (first)); |
| 272 | if (second) |
| 273 | strcat (str, TEXTCOLOR_BLACK ", " TEXTCOLOR_NORMAL); |
| 274 | } |
| 275 | |
| 276 | if (second) |
| 277 | { |
| 278 | c++; |
| 279 | strcat (str, KeyName (second)); |
| 280 | } |
| 281 | |
| 282 | if (!c) |
| 283 | *str = '\0'; |
| 284 | } |
| 285 | |
| 286 | //============================================================================= |
| 287 | // |
no test coverage detected