-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | libopie2/opiecore/device/odevice.cpp | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -7,2 +7,3 @@ * n.a. - always show volume and wireless applet popups inside visible screen (deller) + * #1565 - crash-fix in odevice.cpp while scanning the distribution table (deller) diff --git a/libopie2/opiecore/device/odevice.cpp b/libopie2/opiecore/device/odevice.cpp index af77ed1..fcdbf45 100644 --- a/libopie2/opiecore/device/odevice.cpp +++ b/libopie2/opiecore/device/odevice.cpp @@ -193,3 +193,3 @@ ODevice::ODevice() - for ( unsigned int i = 0; i < sizeof distributions; ++i ) + for ( unsigned int i = 0; i < sizeof(distributions)/sizeof(ODistribution); ++i ) { |