Fixed bug #106: emtpy hsp-files prevent prototypes from being evaluated
This commit is contained in:
parent
d8190ed3b2
commit
4839b658b5
1 changed files with 2 additions and 0 deletions
|
@ -46,6 +46,8 @@ public class Template extends ActionFile {
|
||||||
|
|
||||||
Vector partBuffer = new Vector ();
|
Vector partBuffer = new Vector ();
|
||||||
int l = content.length ();
|
int l = content.length ();
|
||||||
|
if (l == 0)
|
||||||
|
return "";
|
||||||
char cnt[] = new char[l];
|
char cnt[] = new char[l];
|
||||||
content.getChars (0, l, cnt, 0);
|
content.getChars (0, l, cnt, 0);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue