mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 10:58:52 +00:00
Compile fix for mingw
This was probably overlooked at [7bb08f10/lyxgit].
This commit is contained in:
parent
c286228315
commit
d5567ac36f
@ -42,7 +42,7 @@ string const user_name()
|
||||
char name[UNLEN + 1];
|
||||
DWORD size = UNLEN + 1;
|
||||
if (!GetUserName(name, &size))
|
||||
return _("Unknown user");
|
||||
return to_utf8(_("Unknown user"));
|
||||
return to_utf8(from_local8bit(name));
|
||||
#else
|
||||
struct passwd * pw = getpwuid(geteuid());
|
||||
|
Loading…
Reference in New Issue
Block a user