mirror of
https://github.com/RubyMetric/chsrc
synced 2026-03-03 04:00:30 +08:00
Adjust chsrc_conclude()
This commit is contained in:
@@ -41,7 +41,10 @@ pl_python_poetry_setsrc (char *option)
|
||||
chsrc_run (cmd, RunOpt_No_Last_New_Line);
|
||||
|
||||
if (ProgMode_Target_Group!=true)
|
||||
chsrc_conclude (&source, SetsrcType_Auto);
|
||||
{
|
||||
ProgMode_ChgType = ProgMode_CMD_Reset ? ChgType_Reset : ChgType_Auto;
|
||||
chsrc_conclude (&source);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -51,7 +54,7 @@ pl_python_poetry_setsrc (char *option)
|
||||
void
|
||||
pl_python_poetry_resetsrc (char *option)
|
||||
{
|
||||
pl_python_poetry_setsrc (SetsrcType_Reset);
|
||||
pl_python_poetry_setsrc (option);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user