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

@ -1,9 +1,9 @@
/*
ActiveGS, Copyright 2004-2016 Olivier Goguel, https://github.com/ogoguel/ActiveGS
Based on Kegs, Copyright 2004 Kent Dickey, https://kegs.sourceforge.net
This code is covered by the GNU GPL licence
*/
/*
ActiveGS, Copyright 2004-2016 Olivier Goguel, https://github.com/ogoguel/ActiveGS
Based on Kegs, Copyright 2004 Kent Dickey, https://kegs.sourceforge.net
This code is covered by the GNU GPL licence
*/
#include "ActiveGSList.h"
#include "activedownload.h"
@ -208,7 +208,7 @@ static int baseid=0;
for(int i=0;i<MAX_SCREENSHOTS;i++)
{
if (!screenShots[i].c_str())
if (screenShots[i].GetLength()==0)
{
screenShots[i] = fn;
break;