diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-09-20 16:29:28 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-09-20 16:29:28 +0400 |
commit | fbe13ab84ac73752258ef50110bd562ed1263e5a (patch) | |
tree | cdcc17209ae1f93f40cd09f6e4d16ee1e4044e9a /release/windows | |
parent | 8771c9e2feb70111da56ac6494fbce1f9f924713 (diff) |
style cleanup
Diffstat (limited to 'release/windows')
-rw-r--r-- | release/windows/contrib/vfapi/vfapi-plugin.c | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/release/windows/contrib/vfapi/vfapi-plugin.c b/release/windows/contrib/vfapi/vfapi-plugin.c index 81547b8bb1a..8e1bfb0f247 100644 --- a/release/windows/contrib/vfapi/vfapi-plugin.c +++ b/release/windows/contrib/vfapi/vfapi-plugin.c @@ -157,7 +157,8 @@ static int my_gets(SOCKET sock, char * line, int maxlen) line++; *line = 0; break; - } else { + } + else { line++; maxlen--; } @@ -251,15 +252,20 @@ HRESULT __stdcall VF_OpenFileFunc_Blen( if (strcmp(key, "width") == 0) { rval->width = atoi(val); - } else if (strcmp(key, "height") == 0) { + } + else if (strcmp(key, "height") == 0) { rval->height = atoi(val); - } else if (strcmp(key, "start") == 0) { + } + else if (strcmp(key, "start") == 0) { rval->start = atoi(val); - } else if (strcmp(key, "end") == 0) { + } + else if (strcmp(key, "end") == 0) { rval->end = atoi(val); - } else if (strcmp(key, "rate") == 0) { + } + else if (strcmp(key, "rate") == 0) { rval->rate = atoi(val); - } else if (strcmp(key, "ratescale") == 0) { + } + else if (strcmp(key, "ratescale") == 0) { rval->ratescale = atoi(val); } } |