Fix screenshot in detail view

This commit is contained in:
Olivier Goguel 2016-04-03 16:56:19 +02:00
parent 59c466bacb
commit f5308f0792

View File

@ -208,7 +208,7 @@ static int baseid=0;
for(int i=0;i<MAX_SCREENSHOTS;i++) for(int i=0;i<MAX_SCREENSHOTS;i++)
{ {
if (!screenShots[i].c_str()) if (screenShots[i].GetLength()==0)
{ {
screenShots[i] = fn; screenShots[i] = fn;
break; break;