Skip to content

Commit

Permalink
Fixed some incorrect spellings of LoadWEBP.
Browse files Browse the repository at this point in the history
  • Loading branch information
mdadams committed May 27, 2023
1 parent 84c9de9 commit 7527735
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/xv.c
Original file line number Diff line number Diff line change
Expand Up @@ -3298,7 +3298,7 @@ int ReadPicFile(fname, ftype, pinfo, quick)
#endif

#ifdef HAVE_WEBP
case RFT_WEBP: rv = LoadWebP (fname, pinfo); break;
case RFT_WEBP: rv = LoadWEBP (fname, pinfo); break;
#endif

#ifdef HAVE_PDS
Expand Down
10 changes: 5 additions & 5 deletions src/xvwebp.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*
* WriteWEBP(fp, pic, ptype, w, h, rmap, gmap, bmap, numcols, colorstyle)
* VersionInfoWEBP()
* LoadWebP(fname, pinfo)
* LoadWEBP(fname, pinfo)
*
* Uses Google's WebP library
*
Expand Down Expand Up @@ -209,7 +209,7 @@ VersionInfoWEBP()
* Returns 1 on success, 0 on failure
*
*/
int LoadWebP(fname, pinfo)
int LoadWEBP(fname, pinfo)
char *fname;
PICINFO *pinfo;
{
Expand Down Expand Up @@ -237,7 +237,7 @@ int LoadWebP(fname, pinfo)
raw_data = (uint8_t*)malloc(filesize);

if (!raw_data) {
FatalError("malloc failure in LoadWebP");
FatalError("malloc failure in LoadWEBP");
fclose(fp);
return 0;
}
Expand Down Expand Up @@ -342,7 +342,7 @@ int LoadWebP(fname, pinfo)

if (!pinfo->pic) {
free(raw_data);
FatalError("malloc failure in LoadWebP");
FatalError("malloc failure in LoadWEBP");
return 0;
}

Expand All @@ -366,4 +366,4 @@ int LoadWebP(fname, pinfo)
}


#endif
#endif

0 comments on commit 7527735

Please sign in to comment.