Change function name to nmseffect_set_autodecrypt()
modified: src/nms.c modified: src/nmseffect.c modified: src/nmseffect.h
This commit is contained in:
parent
5fd104afee
commit
4edd0d51da
@ -25,7 +25,7 @@ int main(int argc, char *argv[]) {
|
|||||||
nmseffect_set_foregroundcolor(optarg);
|
nmseffect_set_foregroundcolor(optarg);
|
||||||
break;
|
break;
|
||||||
case 'a':
|
case 'a':
|
||||||
nmseffect_set_auto_decrypt(1);
|
nmseffect_set_autodecrypt(1);
|
||||||
break;
|
break;
|
||||||
case 'c':
|
case 'c':
|
||||||
nmseffect_set_clearscr(1);
|
nmseffect_set_clearscr(1);
|
||||||
|
@ -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.
|
* true/false value of the 'setting' argument.
|
||||||
*/
|
*/
|
||||||
void nmseffect_set_auto_decrypt(int setting) {
|
void nmseffect_set_autodecrypt(int setting) {
|
||||||
if (setting)
|
if (setting)
|
||||||
autoDecrypt = 1;
|
autoDecrypt = 1;
|
||||||
else
|
else
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
char nmseffect_exec(char *);
|
char nmseffect_exec(char *);
|
||||||
void nmseffect_set_foregroundcolor(char *);
|
void nmseffect_set_foregroundcolor(char *);
|
||||||
void nmseffect_set_return_opts(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_set_clearscr(int);
|
||||||
void nmseffect_use_color(int);
|
void nmseffect_use_color(int);
|
||||||
void nmseffect_set_input_position(int, int);
|
void nmseffect_set_input_position(int, int);
|
||||||
|
Loading…
Reference in New Issue
Block a user