summaryrefslogtreecommitdiff
path: root/ldmicro/lib/freezeLD/freezeLD.cpp
diff options
context:
space:
mode:
authorakshay-c2019-06-27 10:23:57 +0530
committerakshay-c2019-06-27 10:23:57 +0530
commitd173a9be97cab476f2dd1aa9a43fef06e215ee57 (patch)
tree266973b96547e796d70f4043618d97a7a3738629 /ldmicro/lib/freezeLD/freezeLD.cpp
parent3f7c4198a528cda5f027d26d103a8b228e82474b (diff)
downloadLDmicroQt-d173a9be97cab476f2dd1aa9a43fef06e215ee57.tar.gz
LDmicroQt-d173a9be97cab476f2dd1aa9a43fef06e215ee57.tar.bz2
LDmicroQt-d173a9be97cab476f2dd1aa9a43fef06e215ee57.zip
Code Beautification
Diffstat (limited to 'ldmicro/lib/freezeLD/freezeLD.cpp')
-rw-r--r--ldmicro/lib/freezeLD/freezeLD.cpp12
1 files changed, 8 insertions, 4 deletions
diff --git a/ldmicro/lib/freezeLD/freezeLD.cpp b/ldmicro/lib/freezeLD/freezeLD.cpp
index b2cdf24..83c7f6a 100644
--- a/ldmicro/lib/freezeLD/freezeLD.cpp
+++ b/ldmicro/lib/freezeLD/freezeLD.cpp
@@ -304,9 +304,11 @@ void FreezeStringF(char *val, char *subKey, char *name)
return;
}
- sprintf(moveToKeyLocatin, "mkdir -p %s/%s/%s", getenv("HOME"), FREEZE_REGISTER, subKey);
+ sprintf(moveToKeyLocatin, "mkdir -p %s/%s/%s", getenv("HOME"),
+ FREEZE_REGISTER, subKey);
system(moveToKeyLocatin);
- sprintf(moveToKeyLocatin, "%s/%s/%s", getenv("HOME"), FREEZE_REGISTER, subKey);
+ sprintf(moveToKeyLocatin, "%s/%s/%s", getenv("HOME"),
+ FREEZE_REGISTER, subKey);
if (-1 == chdir(moveToKeyLocatin))
{
free(Ld_CWD);
@@ -325,7 +327,8 @@ void FreezeStringF(char *val, char *subKey, char *name)
}
/*
- * retrieve a string setting, or return the default if that setting is unavailable
+ * retrieve a string setting, or return
+ * the default if that setting is unavailable
*/
void ThawStringF(char *val, int max, char *subKey, char *name)
{
@@ -342,7 +345,8 @@ void ThawStringF(char *val, int max, char *subKey, char *name)
return;
}
- sprintf(moveToKeyLocatin, "%s/%s/%s", getenv("HOME"), FREEZE_REGISTER, subKey);
+ sprintf(moveToKeyLocatin, "%s/%s/%s",
+ getenv("HOME"), FREEZE_REGISTER, subKey);
if (-1 == chdir(moveToKeyLocatin))
{
free(Ld_CWD);