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;
|
box_index = -1;
|
||||||
while (1) {
|
while (1) {
|
||||||
box_index = SbieApi_EnumBoxesEx(
|
box_index = SbieApi_EnumBoxesEx(
|
||||||
box_index | CONF_GET_NO_TEMPLS, work_name, TRUE);
|
box_index, work_name, TRUE);
|
||||||
if (box_index == -1)
|
if (box_index == -1)
|
||||||
break;
|
break;
|
||||||
if (SbieApi_IsBoxEnabled(work_name) == 0)
|
if (SbieApi_IsBoxEnabled(work_name) == 0)
|
||||||
|
@ -342,7 +342,7 @@ _FX void BoxOrder_ReadMissing(BOX_ORDER_ENTRY *parent)
|
||||||
while (name_index < box_count) {
|
while (name_index < box_count) {
|
||||||
name = &all_names[name_index * 34];
|
name = &all_names[name_index * 34];
|
||||||
box_index = SbieApi_EnumBoxesEx(
|
box_index = SbieApi_EnumBoxesEx(
|
||||||
box_index | CONF_GET_NO_TEMPLS, name, TRUE);
|
box_index, name, TRUE);
|
||||||
if (box_index == -1)
|
if (box_index == -1)
|
||||||
break;
|
break;
|
||||||
if (SbieApi_IsBoxEnabled(name) == 0)
|
if (SbieApi_IsBoxEnabled(name) == 0)
|
||||||
|
|
|
@ -95,7 +95,7 @@ void CBoxes::ReloadBoxes()
|
||||||
name[0] = L'\0';
|
name[0] = L'\0';
|
||||||
else {
|
else {
|
||||||
index = SbieApi_EnumBoxesEx(
|
index = SbieApi_EnumBoxesEx(
|
||||||
index | CONF_GET_NO_TEMPLS, name, TRUE);
|
index, name, TRUE);
|
||||||
if (index == -1)
|
if (index == -1)
|
||||||
break;
|
break;
|
||||||
LONG rc = SbieApi_IsBoxEnabled(name);
|
LONG rc = SbieApi_IsBoxEnabled(name);
|
||||||
|
|
|
@ -48,7 +48,7 @@ void DoListSections(void)
|
||||||
|
|
||||||
WCHAR section_name[34];
|
WCHAR section_name[34];
|
||||||
index = SbieApi_EnumBoxesEx(
|
index = SbieApi_EnumBoxesEx(
|
||||||
index | CONF_GET_NO_TEMPLS, section_name, TRUE);
|
index, section_name, TRUE);
|
||||||
if (index == -1)
|
if (index == -1)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
|
@ -1295,7 +1295,7 @@ _FX LONG SbieApi_EnumBoxesEx(
|
||||||
LONG rc;
|
LONG rc;
|
||||||
while (1) {
|
while (1) {
|
||||||
++index;
|
++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);
|
box_name, sizeof(WCHAR) * 34);
|
||||||
if (rc == STATUS_BUFFER_TOO_SMALL)
|
if (rc == STATUS_BUFFER_TOO_SMALL)
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Reference in New Issue