1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-16 00:34:19 +00:00
This commit is contained in:
jules 2008-07-23 16:35:04 +00:00
parent 1be886abe2
commit 62eecb9c50
2 changed files with 4 additions and 3 deletions

View file

@ -584,7 +584,7 @@ public:
int sourceClipWidth,
int sourceClipHeight,
const AffineTransform& transform,
const bool fillAlphaChannelWithCurrentBrush) const throw();
const bool fillAlphaChannelWithCurrentBrush = false) const throw();
/** Draws an image to fit within a designated rectangle.
@ -613,7 +613,7 @@ public:
const int destWidth,
const int destHeight,
const RectanglePlacement& placementWithinTarget,
const bool fillAlphaChannelWithCurrentBrush) const throw();
const bool fillAlphaChannelWithCurrentBrush = false) const throw();
//==============================================================================

View file

@ -366,11 +366,12 @@ int ZipFile::findEndOfZipEntryTable (InputStream* input)
in.setPosition (in.getTotalLength());
int64 pos = in.getPosition();
const int64 lowestPos = jmax ((int64) 0, pos - 1024);
char buffer [32];
zeromem (buffer, sizeof (buffer));
while (pos > 0)
while (pos > lowestPos)
{
in.setPosition (pos - 22);
pos = in.getPosition();