Skip to content

Commit d443e13

Browse files
committed
chore: missed words on rename
1 parent 2832025 commit d443e13

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/main.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,15 +85,15 @@ static int lfensteraudio_open(lua_State *L) {
8585
// do I still need this?
8686
memcpy(p_fenster_audio, &temp_fenster_audio, sizeof(struct fenster_audio));
8787

88-
// open window and check success
88+
// open audiodevice and check success
8989
const int result = fenster_audio_open(p_fenster_audio);
9090
if (result != 0) {
9191
free(p_fenster_audio);
9292
p_fenster_audio = NULL;
9393
return luaL_error(L, "failed to open audiodevice (%d)", result);
9494
}
9595

96-
// create the window userdata and initialize it
96+
// create the audiodevice userdata and initialize it
9797
audiodevice *p_audiodevice = lua_newuserdata(L, sizeof(audiodevice));
9898
p_audiodevice->p_fenster_audio = p_fenster_audio;
9999
memset(p_audiodevice->samples, 0, sizeof(p_audiodevice->samples));
@@ -251,7 +251,7 @@ static int audiodevice_index(lua_State *L) {
251251
}
252252

253253
/**
254-
* Close the window when the audiodevice userdata is garbage collected.
254+
* Close the audiodevice when the audiodevice userdata is garbage collected.
255255
* Just calls the close method but ignores if the audiodevice is already closed.
256256
* @param L Lua state
257257
* @return Number of return values on the Lua stack

0 commit comments

Comments
 (0)