Change function name to nmseffect_set_autodecrypt()

modified:   src/nms.c
	modified:   src/nmseffect.c
	modified:   src/nmseffect.h
This commit is contained in:
Brian Barto 2017-01-19 11:20:53 -05:00
parent 5fd104afee
commit 4edd0d51da
3 changed files with 4 additions and 4 deletions

View File

@ -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);

View File

@ -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

View File

@ -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);