From 4edd0d51dadc45c546b8d22abc429637e8f33f39 Mon Sep 17 00:00:00 2001 From: Brian Barto Date: Thu, 19 Jan 2017 11:20:53 -0500 Subject: [PATCH] Change function name to nmseffect_set_autodecrypt() modified: src/nms.c modified: src/nmseffect.c modified: src/nmseffect.h --- src/nms.c | 2 +- src/nmseffect.c | 4 ++-- src/nmseffect.h | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/nms.c b/src/nms.c index 564bf08..3da434d 100644 --- a/src/nms.c +++ b/src/nms.c @@ -25,7 +25,7 @@ int main(int argc, char *argv[]) { nmseffect_set_foregroundcolor(optarg); break; case 'a': - nmseffect_set_auto_decrypt(1); + nmseffect_set_autodecrypt(1); break; case 'c': nmseffect_set_clearscr(1); diff --git a/src/nmseffect.c b/src/nmseffect.c index c089c9c..2672e5a 100644 --- a/src/nmseffect.c +++ b/src/nmseffect.c @@ -367,10 +367,10 @@ void nmseffect_set_return_opts(char *opts) { } /* - * nmseffect_set_auto_decrypt() sets the autoDecrypt flag according to the + * nmseffect_set_autodecrypt() sets the autoDecrypt flag according to the * true/false value of the 'setting' argument. */ -void nmseffect_set_auto_decrypt(int setting) { +void nmseffect_set_autodecrypt(int setting) { if (setting) autoDecrypt = 1; else diff --git a/src/nmseffect.h b/src/nmseffect.h index bb03225..bbb58d8 100644 --- a/src/nmseffect.h +++ b/src/nmseffect.h @@ -12,7 +12,7 @@ char nmseffect_exec(char *); void nmseffect_set_foregroundcolor(char *); void nmseffect_set_return_opts(char *); -void nmseffect_set_auto_decrypt(int); +void nmseffect_set_autodecrypt(int); void nmseffect_set_clearscr(int); void nmseffect_use_color(int); void nmseffect_set_input_position(int, int);