mirror of
https://github.com/RGBCube/serenity
synced 2025-05-28 02:45:07 +00:00
LibDebug: Oops, file:line info should have '/' between directory & file
This commit is contained in:
parent
485d28298a
commit
42bc518d70
1 changed files with 2 additions and 1 deletions
|
@ -101,8 +101,9 @@ void LineProgram::append_to_line_info()
|
|||
|
||||
String directory = m_source_directories[m_source_files[m_file_index].directory_index];
|
||||
|
||||
StringBuilder full_path(directory.length() + m_source_files[m_file_index].name.length());
|
||||
StringBuilder full_path(directory.length() + m_source_files[m_file_index].name.length() + 1);
|
||||
full_path.append(directory);
|
||||
full_path.append('/');
|
||||
full_path.append(m_source_files[m_file_index].name);
|
||||
|
||||
m_lines.append({ m_address, full_path.to_string(), m_line });
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue