Skip to content

Commit d230bf7

Browse files
yume02kkibl4ckb0ne
authored andcommitted
Fix typo in survive_simple_object_charge_percet (percent)
1 parent 0ee549c commit d230bf7

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

include/libsurvive/survive_api.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ SURVIVE_EXPORT bool survive_simple_object_charging(const SurviveSimpleObject *sa
136136
/**
137137
* @return The object charge percent from 0 to 100
138138
*/
139-
SURVIVE_EXPORT uint8_t survive_simple_object_charge_percet(const SurviveSimpleObject *sao);
139+
SURVIVE_EXPORT uint8_t survive_simple_object_charge_percent(const SurviveSimpleObject *sao);
140140

141141
/**
142142
* Gets the null terminated name of the object.

src/survive_api.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,7 @@ SURVIVE_EXPORT bool survive_simple_object_charging(const SurviveSimpleObject *sa
480480
}
481481
}
482482

483-
SURVIVE_EXPORT uint8_t survive_simple_object_charge_percet(const SurviveSimpleObject *sao) {
483+
SURVIVE_EXPORT uint8_t survive_simple_object_charge_percent(const SurviveSimpleObject *sao) {
484484
switch (sao->type) {
485485
case SurviveSimpleObject_LIGHTHOUSE: {
486486
return 100;

0 commit comments

Comments
 (0)