Skip to content

Commit

Permalink
spelling: endianness
Browse files Browse the repository at this point in the history
Signed-off-by: Josh Soref <[email protected]>
  • Loading branch information
jsoref authored and jstebbins committed Jun 2, 2021
1 parent 6c9af00 commit dd83194
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gtk/src/ghb-dvd.c
Original file line number Diff line number Diff line change
Expand Up @@ -127,14 +127,14 @@ get_buffer(int fd, guint64 off, gsize len)
}

static gint
set_unicode16(guint8 *str, gsize len, const guint8 *buf, gint endianess, gsize count)
set_unicode16(guint8 *str, gsize len, const guint8 *buf, gint endianness, gsize count)
{
gint ii, jj;
guint16 c;

jj = 0;
for (ii = 0; ii + 2 <= count; ii += 2) {
if (endianess == LE)
if (endianness == LE)
c = (buf[ii+1] << 8) | buf[ii];
else
c = (buf[ii] << 8) | buf[ii+1];
Expand Down

0 comments on commit dd83194

Please sign in to comment.