]> git.lyx.org Git - lyx.git/blobdiff - src/support/userinfo.cpp
* layouttranslations.review - remove dupes
[lyx.git] / src / support / userinfo.cpp
index c873afe24744d9c5616348f97e34662c77869ce3..af33d1d66a11f40464f4a326211e642def27eacb 100644 (file)
@@ -46,7 +46,7 @@ docstring const user_name()
        return from_local8bit(name);
 #else
        struct passwd * pw = getpwuid(geteuid());
-       LASSERT(pw, /**/);
+       LASSERT(pw, return docstring());
 
        const string gecos = pw->pw_gecos;
        const size_t pos = gecos.find(",");