mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-25 22:03:45 -06:00
uppsrc: Fixed some GCC 8.1 warnings
git-svn-id: svn://ultimatepp.org/upp/trunk@12806 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
7cade5a8b6
commit
814d5f2fc8
7 changed files with 28 additions and 21 deletions
|
|
@ -349,10 +349,10 @@ String DefaultHtmlObjectSaver::GetHtml(const RichObject& object)
|
|||
sz = psz;
|
||||
PNGEncoder png;
|
||||
png.SaveFile(AppendFileName(outdir, name), object.ToImage(sz));
|
||||
if(psz.cx * psz.cy)
|
||||
if(psz.cx * psz.cy != 0)
|
||||
html << "<a href=\"" << lname << "\">";
|
||||
html << "<img src=\"" << name << "\" border=\"0\" alt=\"\">";
|
||||
if(psz.cx * psz.cy) {
|
||||
if(psz.cx * psz.cy != 0) {
|
||||
html << "</a>";
|
||||
PNGEncoder png;
|
||||
png.SaveFile(AppendFileName(outdir, lname), object.ToImage(psz));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue