Skip to content

Commit

Permalink
Patch # increment and code formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
tuespetre committed Jun 3, 2014
1 parent d877050 commit 8a1ef6b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
18 changes: 9 additions & 9 deletions Pechkin/GlobalSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,6 @@ public enum PaperOrientation
[WkhtmltopdfSetting("collate")]
public bool? Collate { get; set; }

[WkhtmltopdfSetting("colorMode")]
internal string StringColorMode
{
get
{
return this.ColorMode == DocumentColorMode.Color ? "grayscale" : "color";
}
}

/// <summary>
/// Whether to print in color or grayscale. (Default: color)
/// </summary>
Expand Down Expand Up @@ -222,6 +213,15 @@ internal string PaperWidth
}
}

[WkhtmltopdfSetting("colorMode")]
internal string StringColorMode
{
get
{
return this.ColorMode == DocumentColorMode.Color ? "grayscale" : "color";
}
}

private string GetMarginValue(double value)
{
var strUnit = "in";
Expand Down
4 changes: 2 additions & 2 deletions Pechkin/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.2")]
[assembly: AssemblyFileVersion("1.0.2")]
[assembly: AssemblyVersion("1.0.3")]
[assembly: AssemblyFileVersion("1.0.3")]

0 comments on commit 8a1ef6b

Please sign in to comment.