aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoursoir <chat@joursoir.net>2022-08-31 15:52:00 +0300
committerJoursoir <chat@joursoir.net>2022-08-31 19:11:26 +0300
commit3a68c85c8d6e8684c94d82bd64a622004579f3b4 (patch)
tree87ab4405b54b85619a166ad5de81f158ded0aff5
parentc86d4d51638ad18b54e43d67c4d0424ab381f58c (diff)
downloadlock-password-3a68c85c8d6e8684c94d82bd64a622004579f3b4.tar.gz
lock-password-3a68c85c8d6e8684c94d82bd64a622004579f3b4.tar.bz2
lock-password-3a68c85c8d6e8684c94d82bd64a622004579f3b4.zip
tree: indent one tab between macro name and value
-rw-r--r--src/constants.h12
-rw-r--r--src/routines.c2
-rw-r--r--src/routines.h2
-rw-r--r--src/tree.c6
4 files changed, 11 insertions, 11 deletions
diff --git a/src/constants.h b/src/constants.h
index cdc0464..9d82eeb 100644
--- a/src/constants.h
+++ b/src/constants.h
@@ -19,15 +19,15 @@
along with this program. If not, see <https://www.gnu.org/licenses/>.
***/
-#define VERSION "1.2a"
-#define DATE_RELEASE "4 July, 2021"
+#define VERSION "1.2a"
+#define DATE_RELEASE "4 July, 2021"
-#define LOCKPASS_DIR ".lock-password/"
-#define GPGKEY_FILE ".gpg-key"
-#define STD_TEXT_EDITOR "vi"
+#define LOCKPASS_DIR ".lock-password/"
+#define GPGKEY_FILE ".gpg-key"
+#define STD_TEXT_EDITOR "vi"
#ifdef DEBUG
- #define dbgprint(...) fprintf(stderr, "Debug: " __VA_ARGS__)
+ #define dbgprint(...) fprintf(stderr, "Debug: " __VA_ARGS__)
#else
#define dbgprint(...)
#endif
diff --git a/src/routines.c b/src/routines.c
index 9d8bf4a..2250fec 100644
--- a/src/routines.c
+++ b/src/routines.c
@@ -35,7 +35,7 @@
#endif
#include "output.h"
-#define NUMBER_ALLOWED_CHARS (10+26+26+8)
+#define NUMBER_ALLOWED_CHARS (10+26+26+8)
int copy_outside(char *password)
{
diff --git a/src/routines.h b/src/routines.h
index 90d6fb3..dc4d714 100644
--- a/src/routines.h
+++ b/src/routines.h
@@ -19,7 +19,7 @@
along with this program. If not, see <https://www.gnu.org/licenses/>.
***/
-#define GPG_PUBLICKEY_MAXLENGTH 1024
+#define GPG_PUBLICKEY_MAXLENGTH 1024
int copy_outside(char *password);
int check_sneaky_paths(const char *path);
diff --git a/src/tree.c b/src/tree.c
index 63ffd3c..293a86a 100644
--- a/src/tree.c
+++ b/src/tree.c
@@ -27,9 +27,9 @@
#include "xstd.h"
#include "easydir.h"
-#define ANSIC_RST "\x1B[0m"
-#define ANSIC_BBLU "\x1B[34;1m"
-#define ANSIC_BGRN "\x1B[32;1m"
+#define ANSIC_RST "\x1B[0m"
+#define ANSIC_BBLU "\x1B[34;1m"
+#define ANSIC_BGRN "\x1B[32;1m"
static void entries_sort(char **entries, const int size)
{