mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 23:35:03 +01:00
fix error in mingw version of realpath()
This commit is contained in:
parent
ef2c1ff92f
commit
a7961f04cf
1 changed files with 1 additions and 1 deletions
|
|
@ -71,7 +71,7 @@ realpath (const char *original_path, char resolved_path[_MAX_PATH+1])
|
||||||
rpath = _fullpath (temp, Glib::locale_from_utf8 (original_path).c_str(), _MAX_PATH);
|
rpath = _fullpath (temp, Glib::locale_from_utf8 (original_path).c_str(), _MAX_PATH);
|
||||||
|
|
||||||
if (0 != rpath) {
|
if (0 != rpath) {
|
||||||
snprintf (resolved_path, _MAX_PATH+1, Glib::locale_to_utf8 (temp).c_str());
|
snprintf (resolved_path, _MAX_PATH+1, "%s", Glib::locale_to_utf8 (temp).c_str());
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue