Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-09-20 16:29:28 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-09-20 16:29:28 +0400
commitfbe13ab84ac73752258ef50110bd562ed1263e5a (patch)
treecdcc17209ae1f93f40cd09f6e4d16ee1e4044e9a /release/windows
parent8771c9e2feb70111da56ac6494fbce1f9f924713 (diff)
style cleanup
Diffstat (limited to 'release/windows')
-rw-r--r--release/windows/contrib/vfapi/vfapi-plugin.c18
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);
}
}