]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/FormFloat.C
Introduce LFUN_PRINT.
[lyx.git] / src / frontends / xforms / FormFloat.C
index a102a525d8182c28c83c0cc839f2e66ab4e8cdfb..c683fbcfbade875b25067ebba6b4cc76e1c65b48 100644 (file)
@@ -160,13 +160,13 @@ void FormFloat::update()
        string placement(controller().params().placement);
        bool const wide = controller().params().wide;
 
-       bool const here_definitely = contains(placement, "H");
+       bool const here_definitely = contains(placement, 'H');
 
-       bool const top    = contains(placement, "t");
-       bool const bottom = contains(placement, "b");
-       bool const page   = contains(placement, "p");
-       bool const here   = contains(placement, "h");
-       bool const force  = contains(placement, "!");
+       bool const top    = contains(placement, 't');
+       bool const bottom = contains(placement, 'b');
+       bool const page   = contains(placement, 'p');
+       bool const here   = contains(placement, 'h');
+       bool const force  = contains(placement, '!');
        bool const alternatives = top || bottom || page || (here && !wide);
 
        if (alternatives) {