summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sesman/libscp/libscp_session.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sesman/libscp/libscp_session.c b/sesman/libscp/libscp_session.c
index 1de615cc..a1859aa5 100644
--- a/sesman/libscp/libscp_session.c
+++ b/sesman/libscp/libscp_session.c
@@ -139,10 +139,10 @@ scp_session_set_bpp(struct SCP_SESSION *s, tui8 bpp)
case 24:
case 32:
s->bpp = bpp;
+ break;
default:
return 1;
}
-
return 0;
}