浏览代码

Fix cyrillic C

DarthSim 2 周之前
父节点
当前提交
b5d2cce37a
共有 2 个文件被更改,包括 3 次插入3 次删除
  1. 2 2
      processing/pipeline.go
  2. 1 1
      processing/watermark.go

+ 2 - 2
processing/pipeline.go

@@ -13,7 +13,7 @@ import (
 
 // NOTE: this will be called pipeline.Context in the separate package
 type Context struct {
-	Сtx context.Context
+	Ctx context.Context
 
 	// Global processing configuration which could be used by individual steps
 	Config *pipeline.Config
@@ -127,7 +127,7 @@ func (r *Runner) newContext(
 	imgdata imagedata.ImageData,
 ) Context {
 	pctx := Context{
-		Сtx:     ctx,
+		Ctx:     ctx,
 		Config:  r.config,
 		Img:     img,
 		PO:      po,

+ 1 - 1
processing/watermark.go

@@ -198,5 +198,5 @@ func watermark(c *Context) error {
 		return nil
 	}
 
-	return applyWatermark(c.Сtx, c.Img, c.WatermarkProvider, c.PO, c.DprScale, 1)
+	return applyWatermark(c.Ctx, c.Img, c.WatermarkProvider, c.PO, c.DprScale, 1)
 }