Browse Source

minor tweaks to TableHeaderComponent and ZipFiles

tags/2021-05-28
Julian Storer 15 years ago
parent
commit
2a43959884
3 changed files with 6 additions and 2 deletions
  1. +3
    -1
      juce_amalgamated.cpp
  2. +2
    -0
      src/gui/components/controls/juce_TableHeaderComponent.cpp
  3. +1
    -1
      src/io/files/juce_ZipFile.cpp

+ 3
- 1
juce_amalgamated.cpp View File

@@ -9552,7 +9552,7 @@ void ZipFile::init()
break;

ZipEntryInfo* const zei = new ZipEntryInfo();
zei->entry.filename = String (buffer + 46, fileNameLen);
zei->entry.filename = String::fromUTF8 ((const uint8*) buffer + 46, fileNameLen);

const int time = littleEndianShort (buffer + 12);
const int date = littleEndianShort (buffer + 14);
@@ -51026,6 +51026,8 @@ void TableHeaderComponent::showColumnChooserMenu (const int columnIdClicked)

if (m.getNumItems() > 0)
{
m.setLookAndFeel (&getLookAndFeel());

const int result = m.show();

if (result != 0)


+ 2
- 0
src/gui/components/controls/juce_TableHeaderComponent.cpp View File

@@ -937,6 +937,8 @@ void TableHeaderComponent::showColumnChooserMenu (const int columnIdClicked)
if (m.getNumItems() > 0)
{
m.setLookAndFeel (&getLookAndFeel());
const int result = m.show();
if (result != 0)


+ 1
- 1
src/io/files/juce_ZipFile.cpp View File

@@ -325,7 +325,7 @@ void ZipFile::init()
break;
ZipEntryInfo* const zei = new ZipEntryInfo();
zei->entry.filename = String (buffer + 46, fileNameLen);
zei->entry.filename = String::fromUTF8 ((const uint8*) buffer + 46, fileNameLen);
const int time = littleEndianShort (buffer + 12);
const int date = littleEndianShort (buffer + 14);


Loading…
Cancel
Save