diff --git a/entry.c b/entry.c index c01d526..c99cbbb 100644 --- a/entry.c +++ b/entry.c @@ -221,13 +221,13 @@ void test_Ini_Get_Value() { // Test: get from section // key - exist key = "ext"; - szValue = PineIni_GetString(iniResult, sectionName, key, "k2v"); + szValue = PineIni_Section_GetString(section, key, "k2v"); printf("Get String from <%s>.<%s> = %s\n", sectionName, key, szValue); // Test: get from section // key - not exist key = "default_play"; - szValue = PineIni_GetString(iniResult, sectionName, key, "video"); + szValue = PineIni_Section_GetString(section, key, "video"); printf("Get String from <%s>.<%s> = %s\n", sectionName, key, szValue); // Test: get int value