Change function name to nmseffect_set_returnopts()
modified: src/nmseffect.c modified: src/nmseffect.h modified: src/sneakers.c
This commit is contained in:
parent
4edd0d51da
commit
bd5614363f
@ -358,10 +358,10 @@ void nmseffect_set_foregroundcolor(char *color) {
|
||||
}
|
||||
|
||||
/*
|
||||
* nmseffect_set_return_opts() takes a character sting and copies it to the
|
||||
* nmseffect_set_returnopts() takes a character sting and copies it to the
|
||||
* returnOpts setting used by nms_exec().
|
||||
*/
|
||||
void nmseffect_set_return_opts(char *opts) {
|
||||
void nmseffect_set_returnopts(char *opts) {
|
||||
returnOpts = realloc(returnOpts, strlen(opts) + 1);
|
||||
strcpy(returnOpts, opts);
|
||||
}
|
||||
|
@ -11,7 +11,7 @@
|
||||
// Function prototypes
|
||||
char nmseffect_exec(char *);
|
||||
void nmseffect_set_foregroundcolor(char *);
|
||||
void nmseffect_set_return_opts(char *);
|
||||
void nmseffect_set_returnopts(char *);
|
||||
void nmseffect_set_autodecrypt(int);
|
||||
void nmseffect_set_clearscr(int);
|
||||
void nmseffect_use_color(int);
|
||||
|
@ -161,7 +161,7 @@ int main(void) {
|
||||
|
||||
// Settings
|
||||
nmseffect_set_input_position(((termCols - strlen(foot2Center)) / 2) + 2, 18);
|
||||
nmseffect_set_return_opts("123456");
|
||||
nmseffect_set_returnopts("123456");
|
||||
nmseffect_set_clearscr(1);
|
||||
|
||||
// Execut effect
|
||||
|
Loading…
Reference in New Issue
Block a user