Skip to content

Commit 26322b7

Browse files
committed
Fix some sequences not printing in titles/filenames
This fixes issue #51: for example "temp\home" is shown as "temp ome".
1 parent 3fc8f67 commit 26322b7

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

scripts/SimpleBookmark.lua

+1
Original file line numberDiff line numberDiff line change
@@ -909,6 +909,7 @@ function draw_list()
909909
end
910910
end
911911

912+
p = p:gsub("\\", "/"):gsub("{", "\\{"):gsub("^ ", "\\h")
912913
osd_msg = osd_msg .. osd_color .. osd_key .. osd_index .. p
913914

914915
if list_contents[#list_contents - i][osd_time_type] and tonumber(list_contents[#list_contents - i][osd_time_type]) > 0 then

scripts/SimpleHistory.lua

+1
Original file line numberDiff line numberDiff line change
@@ -860,6 +860,7 @@ function draw_list()
860860
end
861861
end
862862

863+
p = p:gsub("\\", "/"):gsub("{", "\\{"):gsub("^ ", "\\h")
863864
osd_msg = osd_msg .. osd_color .. osd_key .. osd_index .. p
864865

865866
if list_contents[#list_contents - i][osd_time_type] and tonumber(list_contents[#list_contents - i][osd_time_type]) > 0 then

scripts/SmartCopyPaste_II.lua

+1
Original file line numberDiff line numberDiff line change
@@ -925,6 +925,7 @@ function draw_list()
925925
end
926926
end
927927

928+
p = p:gsub("\\", "/"):gsub("{", "\\{"):gsub("^ ", "\\h")
928929
osd_msg = osd_msg .. osd_color .. osd_key .. osd_index .. p
929930

930931
if list_contents[#list_contents - i][osd_time_type] and tonumber(list_contents[#list_contents - i][osd_time_type]) > 0 then

0 commit comments

Comments
 (0)