505 title += " RC"; |
505 title += " RC"; |
506 #endif // BUILD_ID |
506 #endif // BUILD_ID |
507 |
507 |
508 // Append our current file if we have one |
508 // Append our current file if we have one |
509 if (g_curfile) { |
509 if (g_curfile) { |
510 title += fmt (": %s", basename (g_curfile->m_filename.chars())); |
510 if (g_curfile->m_filename.len () > 0) |
|
511 title += fmt (": %s", basename (g_curfile->m_filename)); |
|
512 else |
|
513 title += fmt (": <anonymous>"); |
511 |
514 |
512 if (g_curfile->m_objs.size() > 0 && |
515 if (g_curfile->m_objs.size() > 0 && |
513 g_curfile->m_objs[0]->getType() == LDObject::Comment) |
516 g_curfile->m_objs[0]->getType() == LDObject::Comment) |
514 { |
517 { |
515 // Append title |
518 // Append title |