Skip to content

Commit 8d6dc04

Browse files
Mikachu2333ccmywish
authored andcommitted
rename chsrc_in_combo_source_resolution to chsrc_in_dish_group_mode
1 parent 6fefba7 commit 8d6dc04

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎src/framework/core.c‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ ProgStore =
178178
#define chsrc_breakdown(reason) { xy_error(App_Name "(BREAKDOWN)",reason); exit(Exit_MaintainerCause); }
179179

180180
bool
181-
chsrc_in_combo_source_resolution (void)
181+
chsrc_in_dish_group_mode (void)
182182
{
183183
return ProgStatus.ComboStackDepth > 0;
184184
}
@@ -1145,7 +1145,7 @@ chsrc_yield_source (Dish_t *dish, char *option)
11451145
if (!dish->inited) dish->preparefn();
11461146

11471147
Source_t source;
1148-
if (chsrc_in_combo_source_resolution() && option)
1148+
if (chsrc_in_dish_group_mode() && option)
11491149
{
11501150
if (hp_is_url (option))
11511151
{
@@ -2065,7 +2065,7 @@ chsrc_backup (const char *path)
20652065

20662066
/* combo dish 中多个 sub dish 可能操作同一配置文件。首个 sub dish
20672067
* 已经保留原始内容后,后续 sub dish 不应再覆盖该备份。 */
2068-
if (chsrc_in_combo_source_resolution())
2068+
if (chsrc_in_dish_group_mode())
20692069
{
20702070
int depth = ProgStatus.ComboStackDepth - 1;
20712071
XySeq_t *backed_up_paths = ProgStatus.ComboBackedUpPaths[depth];

0 commit comments

Comments
 (0)