[mythtv-commits] [MythTV/mythtv] 3e5597: Delete duplicate, mis-named script.

linuxdude42 noreply at github.com
Tue Feb 4 23:42:12 UTC 2020


  Branch: refs/heads/master
  Home:   https://github.com/MythTV/mythtv
  Commit: 3e55972c57f89106b097a50e478067dae24ae59f
      https://github.com/MythTV/mythtv/commit/3e55972c57f89106b097a50e478067dae24ae59f
  Author: David Hampton <mythtv at love2code.net>
  Date:   2020-02-04 (Tue, 04 Feb 2020)

  Changed paths:
    R mythtv/programs/scripts/build_commdb.py

  Log Message:
  -----------
  Delete duplicate, mis-named script.


  Commit: a40b7d6efa84c9ca5fca6a5f6e19a56132bde7da
      https://github.com/MythTV/mythtv/commit/a40b7d6efa84c9ca5fca6a5f6e19a56132bde7da
  Author: David Hampton <mythtv at love2code.net>
  Date:   2020-02-04 (Tue, 04 Feb 2020)

  Changed paths:
    M mythtv/libs/libmythui/mythimage.cpp
    M mythtv/libs/libmythui/mythimage.h
    M mythtv/libs/libmythui/mythuiimage.cpp
    M mythtv/libs/libmythui/mythuiimage.h

  Log Message:
  -----------
  Fix parameter confusion to MythImage::MakeGradient.

New optional parameters were added to this function in 2008, and not
all callers got updated properly.  Implicit type conversions between
"int" and "bool" meant that the two new arguments were not
distinguishable, so when the first was omitted the second was
implicitly converted and used as the first.

This commit adds the missing parameter, and converts the code to use
"enum classes" to prevent this problem from happening again.


Compare: https://github.com/MythTV/mythtv/compare/47814b6d618f...a40b7d6efa84


More information about the mythtv-commits mailing list