Build 0.9.7c
This commit is contained in:
parent
d2e549b850
commit
9f75dcce7a
|
@ -325,7 +325,7 @@ _FX void BoxOrder_ReadMissing(BOX_ORDER_ENTRY *parent)
|
|||
box_index = -1;
|
||||
while (1) {
|
||||
box_index = SbieApi_EnumBoxesEx(
|
||||
box_index | CONF_GET_NO_TEMPLS, work_name, TRUE);
|
||||
box_index, work_name, TRUE);
|
||||
if (box_index == -1)
|
||||
break;
|
||||
if (SbieApi_IsBoxEnabled(work_name) == 0)
|
||||
|
@ -342,7 +342,7 @@ _FX void BoxOrder_ReadMissing(BOX_ORDER_ENTRY *parent)
|
|||
while (name_index < box_count) {
|
||||
name = &all_names[name_index * 34];
|
||||
box_index = SbieApi_EnumBoxesEx(
|
||||
box_index | CONF_GET_NO_TEMPLS, name, TRUE);
|
||||
box_index, name, TRUE);
|
||||
if (box_index == -1)
|
||||
break;
|
||||
if (SbieApi_IsBoxEnabled(name) == 0)
|
||||
|
|
|
@ -95,7 +95,7 @@ void CBoxes::ReloadBoxes()
|
|||
name[0] = L'\0';
|
||||
else {
|
||||
index = SbieApi_EnumBoxesEx(
|
||||
index | CONF_GET_NO_TEMPLS, name, TRUE);
|
||||
index, name, TRUE);
|
||||
if (index == -1)
|
||||
break;
|
||||
LONG rc = SbieApi_IsBoxEnabled(name);
|
||||
|
|
|
@ -48,7 +48,7 @@ void DoListSections(void)
|
|||
|
||||
WCHAR section_name[34];
|
||||
index = SbieApi_EnumBoxesEx(
|
||||
index | CONF_GET_NO_TEMPLS, section_name, TRUE);
|
||||
index, section_name, TRUE);
|
||||
if (index == -1)
|
||||
break;
|
||||
|
||||
|
|
|
@ -1295,7 +1295,7 @@ _FX LONG SbieApi_EnumBoxesEx(
|
|||
LONG rc;
|
||||
while (1) {
|
||||
++index;
|
||||
rc = SbieApi_QueryConf(NULL, NULL, index | CONF_GET_NO_EXPAND,
|
||||
rc = SbieApi_QueryConf(NULL, NULL, index | CONF_GET_NO_TEMPLS | CONF_GET_NO_EXPAND,
|
||||
box_name, sizeof(WCHAR) * 34);
|
||||
if (rc == STATUS_BUFFER_TOO_SMALL)
|
||||
continue;
|
||||
|
|
Loading…
Reference in New Issue