Skip to content

Commit

Permalink
Readability tweak.
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexArchive committed Oct 14, 2014
1 parent ea49fc9 commit af31c6a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/Ember/Forms/MainForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ private static async void Capture(Rectangle area)

if (Settings.Default.UploadImage)
{
var screenshotBinary = ToByteArray(screenshot, Settings.Default.UploadFormat);
var screenshotBinary = ConvertToByteArray(screenshot, Settings.Default.UploadFormat);

using (var client = new ImgurClient())
{
Expand Down Expand Up @@ -100,7 +100,7 @@ private static async void Capture(Rectangle area)
}
}

public static byte[] ToByteArray(Image image, ImageFormat format)
public static byte[] ConvertToByteArray(Image image, ImageFormat format)
{
using (var memoryStream = new MemoryStream())
{
Expand Down

0 comments on commit af31c6a

Please sign in to comment.