Build 0.9.7c

This commit is contained in:
DavidXanatos 2021-10-05 12:28:42 +02:00
parent d2e549b850
commit 9f75dcce7a
4 changed files with 5 additions and 5 deletions

View File

@ -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)

View File

@ -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);

View File

@ -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;

View File

@ -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;