mirror of
https://github.com/reactos/reactos.git
synced 2026-09-09 19:03:52 +08:00
b79e7d2eee7ccb336d1275cab89730e0eb0b60ed
◾ Don't return TRUE when CB_SETITEMDATA fails. ◾ Avoid pScheme NULL dereference if allocation fails. CID 1223154 ◾ Avoid overflowing the destiny buffer by using StringCchCopy() CID 510953 and: 1) Make it more readable by returning as soon as possible when an error happens. 2) Make it more readable by reducing the nested ifs-checks. 3) Remove the added string in the combobox if the sound scheme buffer mem allocation fails (pt.3 modified). CORE-11603 #resolve #comment Thanks! svn path=/trunk/; revision=72000
Languages
C
86.5%
C++
10.6%
Python
0.8%
Assembly
0.5%
CMake
0.5%
Other
0.8%