Changeset 16696 for trunk/FACT++/gui
- Timestamp:
- 06/04/13 19:43:24 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/gui/FactGui.h
r16692 r16696 811 811 } 812 812 813 if (!CheckSize(d, sizeof(uint16_t)+ 40*sizeof(float)))813 if (!CheckSize(d, sizeof(uint16_t)+160*sizeof(float))) 814 814 return; 815 815 … … 826 826 for (int i=0; i<160; i++) 827 827 { 828 if (!finite(ptr[i]) 829 continue; 830 828 831 if (ptr[i]<min) 829 832 min = ptr[i]; … … 854 857 } 855 858 856 if (!CheckSize(d, sizeof(uint16_t)+ 160*sizeof(float)))859 if (!CheckSize(d, sizeof(uint16_t)+40*sizeof(float))) 857 860 return; 858 861 … … 866 869 for (int i=0; i<40; i++) 867 870 { 871 if (!finite(ptr[i]) 872 continue; 873 868 874 if (ptr[i]<min) 869 875 min = ptr[i];
Note:
See TracChangeset
for help on using the changeset viewer.