)]}'
{
  "commit": "927dd36dba2d806f4e9dc68cc1975b616f4e0b57",
  "tree": "3f73f768e51b0b82cdc9a33413edf07e7b8e1666",
  "parents": [
    "7a8a6f57eced9a8c27a93cb5c5977a33be7b1f72"
  ],
  "author": {
    "name": "Tom de Vries",
    "email": "tdevries@suse.de",
    "time": "Mon May 22 16:44:56 2023 +0200"
  },
  "committer": {
    "name": "Tom de Vries",
    "email": "tdevries@suse.de",
    "time": "Mon May 22 16:44:56 2023 +0200"
  },
  "message": "[gdb/tui] Fix buglet in tui_update_variables\n\nI noticed a buglet in tui_update_variables:\n...\n   entry \u003d translate (tui_border_kind, tui_border_kind_translate_lrcorner);\n   if (tui_border_lrcorner !\u003d (chtype) entry-\u003evalue)\n    {\n      tui_border_lrcorner \u003d (entry-\u003evalue \u003c 0) ? ACS_LRCORNER : entry-\u003evalue;\n...\n\nWhen assigning the new value to tui_border_lrcorner, an entry-\u003evalue of -1 is\ntaken into account, but not when comparing to the current value of\ntui_border_lrcorner.\n\nFix this by introducing:\n...\n  int val \u003d (entry-\u003evalue \u003c 0) ? ACS_LRCORNER : entry-\u003evalue;\n...\nand using this in both comparison and assignment.\n\nTested on x86_64-linux.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "6710b3e17e5bfcaf8506a087260e076b446e055c",
      "old_mode": 33188,
      "old_path": "gdb/tui/tui-win.c",
      "new_id": "7abd1e225b96cf6a8f426c96503ab7ebe7c1c801",
      "new_mode": 33188,
      "new_path": "gdb/tui/tui-win.c"
    }
  ]
}
