src/ldconfig.cpp

changeset 508
7ace3537a560
parent 498
791c831c8020
child 538
2f85d4d286e5
equal deleted inserted replaced
507:fc76d38c3530 508:7ace3537a560
70 70
71 // Get the CODE tag 71 // Get the CODE tag
72 if (!parseLDConfigTag (pars, "CODE", valuestr)) 72 if (!parseLDConfigTag (pars, "CODE", valuestr))
73 continue; 73 continue;
74 74
75 if (!isNumber (valuestr)) 75 if (!numeric (valuestr))
76 continue; // not a number 76 continue; // not a number
77 77
78 // Ensure that the code is within [0 - 511] 78 // Ensure that the code is within [0 - 511]
79 bool ok; 79 bool ok;
80 code = valuestr.toShort (&ok); 80 code = valuestr.toShort (&ok);

mercurial