Skip to content

Commit

Permalink
Fix files selection under win32
Browse files Browse the repository at this point in the history
Signed-off-by: falkTX <[email protected]>
  • Loading branch information
falkTX committed Sep 21, 2023
1 parent e0a8e0a commit dd54870
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion html/js/modgui.js
Original file line number Diff line number Diff line change
Expand Up @@ -2660,7 +2660,7 @@ JqueryClass('customSelectPath', baseWidget, {
if (!self.data('enabled')) {
return self.customSelectPath('prevent', e)
}
var value = opt.attr('mod-parameter-value')
var value = opt.attr('mod-parameter-value').replace('\\','\\\\')
self.customSelectPath('setValue', value, false)
})
})
Expand Down
2 changes: 1 addition & 1 deletion utils/utils_lilv.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@

typedef unsigned int uint;

char* realpath(const char* const name, char* const resolved)
static char* realpath(const char* const name, char* const resolved)
{
if (name == nullptr)
return nullptr;
Expand Down

0 comments on commit dd54870

Please sign in to comment.