summaryrefslogtreecommitdiffstats
path: root/twin
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2013-03-02 20:25:24 -0600
committerDarrell Anderson <humanreadable@yahoo.com>2013-03-02 20:25:24 -0600
commitfebcc86370a1ae7eb1c1c42df9731b02d72b7964 (patch)
tree5afe6f411bc0417d544b0c044a30398804c30c71 /twin
parentd09a22af8ed75196f9b7acbd6057c5cd064d9ac3 (diff)
downloadtdebase-febcc86370a1ae7eb1c1c42df9731b02d72b7964.tar.gz
tdebase-febcc86370a1ae7eb1c1c42df9731b02d72b7964.zip
Fix when kompmgr printf message is displayed.
Diffstat (limited to 'twin')
-rw-r--r--twin/workspace.cpp6
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);