comparison src/font.c @ 109228:266c496c7220

Merge from mainline.
author Katsumi Yamaoka <katsumi@flagship2>
date Tue, 22 Jun 2010 13:27:02 +0000
parents d8720405694a
children 2bc9a0c04c87 c82f3023b7f2
comparison
equal deleted inserted replaced
109227:2b07fb05e3ed 109228:266c496c7220
1542 if (isdigit (*p)) 1542 if (isdigit (*p))
1543 { 1543 {
1544 int size_found = 1; 1544 int size_found = 1;
1545 1545
1546 for (q = p + 1; *q && *q != ' '; q++) 1546 for (q = p + 1; *q && *q != ' '; q++)
1547 if (! isdigit (*q)) 1547 if (! isdigit (*q) && *q != '.')
1548 { 1548 {
1549 size_found = 0; 1549 size_found = 0;
1550 break; 1550 break;
1551 } 1551 }
1552 if (size_found) 1552 if (size_found)