Subversion Repositories tpanel

Rev

Rev 197 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 197 Rev 323
Line 333... Line 333...
333
 
333
 
334
    int depth = 0;
334
    int depth = 0;
335
    size_t index = 0;
335
    size_t index = 0;
336
    size_t oldIndex = 0;
336
    size_t oldIndex = 0;
337
 
337
 
338
    if ((index = xml.getElementIndex("fontList", &depth)) == TExpat::npos)
338
    if (xml.getElementIndex("fontList", &depth) == TExpat::npos)
339
    {
339
    {
340
        MSG_DEBUG("File does not contain the element \"fontList\"!");
340
        MSG_DEBUG("File does not contain the element \"fontList\"!");
341
        TError::setError();
341
        TError::setError();
342
        mutex_font.unlock();
342
        mutex_font.unlock();
343
        return;
343
        return;
Line 422... Line 422...
422
 
422
 
423
    int depth = 0;
423
    int depth = 0;
424
    size_t index = 0;
424
    size_t index = 0;
425
    size_t oldIndex = 0;
425
    size_t oldIndex = 0;
426
 
426
 
427
    if ((index = xml.getElementIndex("fontList", &depth)) == TExpat::npos)
427
    if (xml.getElementIndex("fontList", &depth) == TExpat::npos)
428
    {
428
    {
429
        MSG_DEBUG("File does not contain the element \"fontList\"!");
429
        MSG_DEBUG("File does not contain the element \"fontList\"!");
430
        TError::setError();
430
        TError::setError();
431
        return false;
431
        return false;
432
    }
432
    }