//////////////////////////////////////////////////////////////// TEditorClient ------------- Small function to add the object type name (depending on the edit mode and number of selected objects) to a string This function is used with StartUndoRecording() to get a significant string corresponding to the UNDO/REDO function
| 4900 | // a significant string corresponding to the UNDO/REDO function |
| 4901 | // |
| 4902 | const char *TEditorClient::AddObjectType(const char *str) |
| 4903 | { |
| 4904 | static char msg[50]; |
| 4905 | |
| 4906 | strcpy (msg, str); |
| 4907 | strcat (msg, " "); |
| 4908 | if ( Selected != NULL && Selected->next != NULL ) |
| 4909 | strcat (msg, GetObjectsTypeName(EditMode)); |
| 4910 | else |
| 4911 | strcat (msg, GetObjectTypeName(EditMode)); |
| 4912 | |
| 4913 | return (msg); |
| 4914 | } |
| 4915 | |
| 4916 | |
| 4917 | ///////////////////////////////////////////////////////////////////// |
nothing calls this directly
no test coverage detected