Open Carlisle96 opened 1 year ago
Deleting line 58 in https://github.com/GermainZ/xdg-desktop-portal-termfilechooser/blob/main/src/filechooser/filechooser.c fixes the first problem.
And should check if /tmp/termfilechooser.portal contains at least 1 character other than a newline if it doesn't it should set num_lines to 0 instead of line 65
Deleting line 58 in https://github.com/GermainZ/xdg-desktop-portal-termfilechooser/blob/main/src/filechooser/filechooser.c fixes the first problem.
And should check if /tmp/termfilechooser.portal contains at least 1 character other than a newline if it doesn't it should set num_lines to 0 instead of line 65