浏览代码

Fixes a documentation issue

Yao (Frank) Fan 8 年之前
父节点
当前提交
7c0ce217ce
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      YYImage/YYImageCoder.h

+ 1 - 1
YYImage/YYImageCoder.h

@@ -264,7 +264,7 @@ typedef NS_ENUM(NSUInteger, YYImageBlendOperation) {
 
 
 /**
 /**
  Add an image from a file path to encoder.
  Add an image from a file path to encoder.
- @param image    Image file path.
+ @param path    Image file path.
  @param duration Image duration for animation. Pass 0 to ignore this parameter.
  @param duration Image duration for animation. Pass 0 to ignore this parameter.
  */
  */
 - (void)addImageWithFile:(NSString *)path duration:(NSTimeInterval)duration;
 - (void)addImageWithFile:(NSString *)path duration:(NSTimeInterval)duration;