X-Git-Url: https://pd.if.org/git/?p=pd_readline;a=blobdiff_plain;f=pd_readline.c;fp=pd_readline.c;h=044d6efb04e274667dba0eda24c6f1d6f61efe34;hp=8649fc1c036553e33069d19e13ecfce3a86bca96;hb=d56fdb0ce92c92e27ef45a8315ff26c272a1f23d;hpb=851ac869ee55686234ae246ab9b5d938aec0f225 diff --git a/pd_readline.c b/pd_readline.c index 8649fc1..044d6ef 100644 --- a/pd_readline.c +++ b/pd_readline.c @@ -35,13 +35,13 @@ int main(void) /* Read in the command history file. */ - buf histbuf = readhistory("test.txt"); + hist myhist = readhistory("test.txt"); while(1) { - keyhandler(mybuf); + keyhandler(mybuf, myhist); }