diff options
author | Darrell Anderson <humanreadable@yahoo.com> | 2013-03-02 20:25:24 -0600 |
---|---|---|
committer | Darrell Anderson <humanreadable@yahoo.com> | 2013-03-02 20:25:24 -0600 |
commit | febcc86370a1ae7eb1c1c42df9731b02d72b7964 (patch) | |
tree | 5afe6f411bc0417d544b0c044a30398804c30c71 /twin/workspace.cpp | |
parent | d09a22af8ed75196f9b7acbd6057c5cd064d9ac3 (diff) | |
download | tdebase-febcc86370a1ae7eb1c1c42df9731b02d72b7964.tar.gz tdebase-febcc86370a1ae7eb1c1c42df9731b02d72b7964.zip |
Fix when kompmgr printf message is displayed.
Diffstat (limited to 'twin/workspace.cpp')
-rw-r--r-- | twin/workspace.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/twin/workspace.cpp b/twin/workspace.cpp index aeb7ce283..cae56b2f9 100644 --- a/twin/workspace.cpp +++ b/twin/workspace.cpp @@ -243,8 +243,6 @@ Workspace::Workspace( bool restore ) strcat(filename, home); strcat(filename, configfile); - printf("[twin-workspace] reading '%s' as kompmgr pidfile\n\n", filename); - // Now that we did all that by way of introduction...read the file! FILE *pFile; char buffer[255]; @@ -252,6 +250,7 @@ Workspace::Workspace( bool restore ) int kompmgrpid = 0; if (pFile) { + printf("[twin-workspace] Using '%s' as kompmgr pidfile\n\n", filename); // obtain file size fseek (pFile , 0 , SEEK_END); unsigned long lSize = ftell (pFile); @@ -1095,8 +1094,6 @@ void Workspace::slotReconfigure() strcat(filename, home); strcat(filename, configfile); - printf("[twin-workspace] reading '%s' as kompmgr pidfile\n\n", filename); - // Now that we did all that by way of introduction...read the file! FILE *pFile; char buffer[255]; @@ -1104,6 +1101,7 @@ void Workspace::slotReconfigure() int kompmgrpid = 0; if (pFile) { + printf("[twin-workspace] Using '%s' as kompmgr pidfile\n\n", filename); // obtain file size fseek (pFile , 0 , SEEK_END); unsigned long lSize = ftell (pFile); |