| 167 | |
| 168 | |
| 169 | void Archive::ViewComment() |
| 170 | { |
| 171 | if (Cmd->DisableComment) |
| 172 | return; |
| 173 | Array<wchar> CmtBuf; |
| 174 | if (GetComment(&CmtBuf)) // In GUI too, so "Test" command detects broken comments. |
| 175 | { |
| 176 | size_t CmtSize=CmtBuf.Size(); |
| 177 | wchar *ChPtr=wcschr(&CmtBuf[0],0x1A); |
| 178 | if (ChPtr!=NULL) |
| 179 | CmtSize=ChPtr-&CmtBuf[0]; |
| 180 | mprintf(L"\n"); |
| 181 | OutComment(&CmtBuf[0],CmtSize); |
| 182 | } |
| 183 | } |
| 184 | |
| 185 |
no test coverage detected