wslua_pref(.c): fix spelling typo found by lintian

Change-Id: Ie371e144a9b385d893ead67c03688841039b8319
Reviewed-on: https://code.wireshark.org/review/18484
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
This commit is contained in:
Alexis La Goutte 2016-10-26 21:44:25 +02:00 committed by Peter Wu
parent ecfee35ec8
commit 4d368de26e
1 changed files with 2 additions and 2 deletions

View File

@ -442,7 +442,7 @@ WSLUA_METAMETHOD Prefs__newindex(lua_State* L) {
pref->desc); pref->desc);
break; break;
default: default:
WSLUA_ERROR(Prefs__newindex,"Unknow Pref type"); WSLUA_ERROR(Prefs__newindex,"Unknown Pref type");
break; break;
} }
@ -487,7 +487,7 @@ WSLUA_METAMETHOD Prefs__index(lua_State* L) {
wmem_free(NULL, push_str); wmem_free(NULL, push_str);
} }
break; break;
default: WSLUA_ERROR(Prefs__index,"Unknow Pref type"); return 0; default: WSLUA_ERROR(Prefs__index,"Unknown Pref type"); return 0;
} }
WSLUA_RETURN(1); /* The current value of the preference. */ WSLUA_RETURN(1); /* The current value of the preference. */
} }