diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-08 17:42:48 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-08 17:42:48 -0600 |
commit | e81c741bb2cf337a43524e75f22f7728ce17a343 (patch) | |
tree | 7fcea2ffd9c3420af999c3dcad0ed032eef93956 /kinit/kstartupconfig.cpp | |
parent | 9c30c9c89ce69ed1b76ff47ca092c6bee7c8e43b (diff) | |
download | tdelibs-e81c741bb2cf337a43524e75f22f7728ce17a343.tar.gz tdelibs-e81c741bb2cf337a43524e75f22f7728ce17a343.zip |
Rename additional KDE strings
Diffstat (limited to 'kinit/kstartupconfig.cpp')
-rw-r--r-- | kinit/kstartupconfig.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kinit/kstartupconfig.cpp b/kinit/kstartupconfig.cpp index 3e4d68156..3204d6f7d 100644 --- a/kinit/kstartupconfig.cpp +++ b/kinit/kstartupconfig.cpp @@ -75,25 +75,25 @@ Otherwise kdostartupconfig is launched to create or update all the necessary fil int main() { - char kdehome[ 1024 ]; + char tdehome[ 1024 ]; if( getenv( "TDEHOME" )) - strlcpy( kdehome, getenv( "TDEHOME" ), 1024 ); + strlcpy( tdehome, getenv( "TDEHOME" ), 1024 ); else if( getenv( "HOME" )) { - strlcpy( kdehome, getenv( "HOME" ), 1024 ); - strlcat( kdehome, "/.trinity", 1024 ); + strlcpy( tdehome, getenv( "HOME" ), 1024 ); + strlcat( tdehome, "/.trinity", 1024 ); } else return 1; char filename[ 1024 ]; - strlcpy( filename, kdehome, 1024 ); + strlcpy( filename, tdehome, 1024 ); strlcat( filename, "/share/config/startupconfig", 1024 ); if( access( filename, R_OK ) != 0 ) { int ret = system( "kdostartupconfig" ); return WEXITSTATUS( ret ); } - strlcpy( filename, kdehome, 1024 ); + strlcpy( filename, tdehome, 1024 ); strlcat( filename, "/share/config/startupconfigfiles", 1024 ); struct stat st; if( stat( filename, &st ) != 0 ) @@ -108,7 +108,7 @@ int main() int ret = system( "kdostartupconfig" ); return WEXITSTATUS( ret ); } - strlcpy( filename, kdehome, 1024 ); + strlcpy( filename, tdehome, 1024 ); strlcat( filename, "/share/config/startupconfigkeys", 1024 ); FILE* keys = fopen( filename, "r" ); if( keys == NULL ) |