https://github.com/Limeoats/L2DFileDialog/blob/b8bc0495739db5025aa075a545b78555c2cc2199/L2DFileDialog/src/L2DFileDialog.h#L334C1-L334C127
Shouldn't this line append the current folder instead of the current file?
Suggested edit:
auto path = file_dialog_current_path + (file_dialog_current_path.back() == '\\' ? "" : "\\") + file_dialog_current_folder;
After all, that variable is the one that is checked in the if clause on line 330.
https://github.com/Limeoats/L2DFileDialog/blob/b8bc0495739db5025aa075a545b78555c2cc2199/L2DFileDialog/src/L2DFileDialog.h#L334C1-L334C127
Shouldn't this line append the current folder instead of the current file?
Suggested edit:
auto path = file_dialog_current_path + (file_dialog_current_path.back() == '\\' ? "" : "\\") + file_dialog_current_folder;After all, that variable is the one that is checked in the if clause on line 330.