diff options
Diffstat (limited to 'ldmicro/lib')
-rw-r--r-- | ldmicro/lib/freezeLD/freezeLD.cpp | 12 | ||||
-rw-r--r-- | ldmicro/lib/linuxUI/linuxUI.h | 5 |
2 files changed, 9 insertions, 8 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); diff --git a/ldmicro/lib/linuxUI/linuxUI.h b/ldmicro/lib/linuxUI/linuxUI.h index f35b9be..5459920 100644 --- a/ldmicro/lib/linuxUI/linuxUI.h +++ b/ldmicro/lib/linuxUI/linuxUI.h @@ -36,16 +36,13 @@ #include <string.h> #include <stdlib.h> #include "linuxLD.h" +#include "ldmicroVC.h" // 4000 ICON "ldmicro.ico" #define TRUE true #define FALSE false -/// version control -#define LDMicro_VERSION_MAJOR 1 -#define LDMicro_VERSION_MINOR 0 - // Timer IDs associated with the main window. #define TIMER_BLINK_CURSOR 1 #define TIMER_SIMULATE 2 |