mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-24 05:40:59 +00:00
win32 compilation fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14962 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
35515415a3
commit
cfb1d179e6
@ -41,7 +41,7 @@ string const user_name()
|
||||
char name[UNLEN + 1];
|
||||
DWORD size = UNLEN + 1;
|
||||
if (!GetUserName(name, &size))
|
||||
return _("Unknown user");
|
||||
return lyx::to_utf8(_("Unknown user"));
|
||||
return name;
|
||||
#else
|
||||
struct passwd * pw(getpwuid(geteuid()));
|
||||
|
Loading…
Reference in New Issue
Block a user