minor comments tweaking
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -514,15 +514,10 @@ void wxMsgCatalog::ConvertEncoding()
|
|||||||
// first, find encoding header:
|
// first, find encoding header:
|
||||||
const char *hdr = StringAtOfs(m_pOrigTable, 0);
|
const char *hdr = StringAtOfs(m_pOrigTable, 0);
|
||||||
if ( hdr == NULL || hdr[0] != 0 ) {
|
if ( hdr == NULL || hdr[0] != 0 ) {
|
||||||
// not supported by this catalog, does not have non-fuzzy header
|
// not supported by this catalog, does not have correct header
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
we support catalogs with header (msgid "") that is _not_ marked as "#,
|
|
||||||
fuzzy" (otherwise the string would not be included into compiled
|
|
||||||
catalog)
|
|
||||||
*/
|
|
||||||
wxString header(StringAtOfs(m_pTransTable, 0));
|
wxString header(StringAtOfs(m_pTransTable, 0));
|
||||||
wxString charset;
|
wxString charset;
|
||||||
int pos = header.Find(wxT("Content-Type: text/plain; charset="));
|
int pos = header.Find(wxT("Content-Type: text/plain; charset="));
|
||||||
|
Reference in New Issue
Block a user