Change function name to nmseffect_set_returnopts()

modified:   src/nmseffect.c
	modified:   src/nmseffect.h
	modified:   src/sneakers.c
This commit is contained in:
Brian Barto 2017-01-19 11:25:24 -05:00
parent 4edd0d51da
commit bd5614363f
3 changed files with 4 additions and 4 deletions

View File

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

View File

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

View File

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