<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <meta http-equiv="content-type" content="text/html; charset=utf-8">
    <pre>We do not not want to do decompress model calculations in the mobile app
(see 130f4cd7ac5b), but we do want to see the divecomputer reported
ceiling (in red). The latter is fixed here.

Ticket #1006

Signed-off-by: Jan Mulder <a class="moz-txt-link-rfc2396E" href="mailto:jlmulder@xs4all.nl"><jlmulder@xs4all.nl></a>
---
 subsurface-mobile-main.cpp | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/subsurface-mobile-main.cpp b/subsurface-mobile-main.cpp
index df25e81..7ed3e42 100644
--- a/subsurface-mobile-main.cpp
+++ b/subsurface-mobile-main.cpp
@@ -62,6 +62,11 @@ int main(int argc, char **argv)
        init_ui();
        loadPreferences();
        prefs.animation_speed = 0;
+
+       /* always show the divecomputer reported ceiling in red */
+       prefs.dcceiling = 1;
+       prefs.redceiling = 1;
+
        init_proxy();
        if (no_filenames) {
                if (prefs.default_file_behavior == LOCAL_DEFAULT_FILE) {
-- 
2.7.0
</pre>
    <title></title>
    <meta name="generator" content="LibreOffice 5.0.4.2 (Linux)">
    <style type="text/css">
                @page { margin: 0.79in }
                p { margin-bottom: 0.1in; line-height: 120% }
        </style>
  </body>
</html>