From c8c16041847fa96ffc4283fcedf4431917bc7bf5 Mon Sep 17 00:00:00 2001 From: llornkcor Date: Sun, 24 Feb 2002 17:15:20 +0000 Subject: changed lstat to stat --- (limited to 'core/apps/textedit/textedit.cpp') diff --git a/core/apps/textedit/textedit.cpp b/core/apps/textedit/textedit.cpp index 515fcdc..603f032 100644 --- a/core/apps/textedit/textedit.cpp +++ b/core/apps/textedit/textedit.cpp @@ -705,7 +705,7 @@ bool TextEdit::save() struct stat buf; mode_t mode; - lstat(file.latin1(), &buf); + stat(file.latin1(), &buf); mode = buf.st_mode; doc->setName( name); -- cgit v0.9.0.2