~foura/libacme

997dd8b1ff8c25dde5ed469d08be451123a17d89 — james palmer 5 months ago 2a9f9c1
awinsave -> awinput: this didn't match up with the header file. oops :P
1 files changed, 3 insertions(+), 3 deletions(-)

M window.c
M window.c => window.c +3 -3
@@ 115,7 115,7 @@ awinload(AWin *w, char *file)
}

int
awinsave(AWin *w, char *file)
awinput(AWin *w, char *file)
{
	int fd;
	char buf[8192];


@@ 123,7 123,7 @@ awinsave(AWin *w, char *file)
	
	fd = open(file, OWRITE);
	if(fd < 0) {
		werrstr("awinload open failed: %r");
		werrstr("awinput open failed: %r");
		return -1;
	}
		


@@ 132,7 132,7 @@ awinsave(AWin *w, char *file)
		write(w->datafd, buf, n);
		
	if(n < 0) {
		werrstr("awinload read failed: %r");
		werrstr("awinput read failed: %r");
		close(fd);
		return -1;
	}