From: <ct...@us...> - 2011-06-24 09:01:13
|
Revision: 1709 http://colorer.svn.sourceforge.net/colorer/?rev=1709&view=rev Author: ctapmex Date: 2011-06-24 09:01:07 +0000 (Fri, 24 Jun 2011) Log Message: ----------- uninitialized variable Modified Paths: -------------- trunk/far3colorer/changelog trunk/far3colorer/src/FarEditorSet.cpp Modified: trunk/far3colorer/changelog =================================================================== --- trunk/far3colorer/changelog 2011-06-24 04:36:17 UTC (rev 1708) +++ trunk/far3colorer/changelog 2011-06-24 09:01:07 UTC (rev 1709) @@ -1,5 +1,9 @@ $Revision$ $Author$ $Date$ + 1. падение при входе в окно настроек схем + +$Revision$ + $Author$ $Date$ 1. Far3 build 2075 API #Revision: 1705 Modified: trunk/far3colorer/src/FarEditorSet.cpp =================================================================== --- trunk/far3colorer/src/FarEditorSet.cpp 2011-06-24 04:36:17 UTC (rev 1708) +++ trunk/far3colorer/src/FarEditorSet.cpp 2011-06-24 09:01:07 UTC (rev 1709) @@ -1218,7 +1218,7 @@ void FarEditorSet::ChangeParamValueListType(HANDLE hDlg, bool dropdownlist) { - struct FarDialogItem *DialogItem = (FarDialogItem *) malloc(Info.SendDlgMessage(hDlg,DM_GETDLGITEM,IDX_CH_PARAM_VALUE_LIST,NULL)); + struct FarDialogItem *DialogItem = (FarDialogItem *) calloc(1,Info.SendDlgMessage(hDlg,DM_GETDLGITEM,IDX_CH_PARAM_VALUE_LIST,NULL)); Info.SendDlgMessage(hDlg,DM_GETDLGITEM,IDX_CH_PARAM_VALUE_LIST,DialogItem); DialogItem->Flags=DIF_LISTWRAPMODE; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |