]>
Commit | Line | Data |
---|---|---|
3f20b2b5 | 1 | --- ecasound-1.9dev1/ecasound/eca-text.cpp~ Wed Jan 17 21:45:40 2001 |
2 | +++ ecasound-1.9dev1/ecasound/eca-text.cpp Mon Apr 23 00:04:09 2001 | |
3 | @@ -48,8 +48,12 @@ | |
4 | #endif | |
5 | ||
6 | #define READLINE_LIBRARY | |
7 | +#undef __P | |
8 | +#define __P(args) args | |
9 | #include <readline.h> | |
10 | #include <history.h> | |
11 | +#undef __P | |
12 | +#define __P(args) args __THROW | |
13 | ||
14 | #include "textdebug.h" | |
15 | #include "eca-text.h" | |
16 | @@ -301,7 +305,7 @@ | |
17 | // complete only the first command, otherwise complete files in | |
18 | // the current directory | |
19 | if (start == 0) | |
20 | - matches = completion_matches (text, (CPFunction *)ecasound_command_generator); | |
21 | + matches = rl_completion_matches (text, (CPFunction *)ecasound_command_generator); | |
22 | ||
23 | return (matches); | |
24 | } |