From nobody Fri Jun 13 02:34:36 2025 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4bJNlJ55thz5yq5W; Fri, 13 Jun 2025 02:34:36 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bJNlJ4FD6z3LSg; Fri, 13 Jun 2025 02:34:36 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1749782076; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Lb+fNjuzpFxROQAVucWzC8TZrPERXzvDTNoXI7MWXbg=; b=SDTYV/SbEjq/S7sPp2DRiW1oxaC5FHMEE7biht4aTMBxK119w08GKU2TkxGKKj9W7mIlMd d6UT6B8G7LVZMAUzZ27tvyzTCpUHBPiKZJ2yJfjytXRkX8DiGcvCorE5Gdv4qnuq/I4+ir 9iMW+IUFdMbODsvSISfgCJ0nOy3ba6LBLijETwyBdulKzJ/yunBZTO0VziHYRSKUZas0jw j1rN6EwOcrCsgZh/fbHr8kPXshvR/HhL00nIMGNbZBqKqThcyhKHtxlJ99YpSh1mMGjmj9 8LBri/TG+TF4bYjVSL4VDKbw/LXTeTa1gafMHyl0Cf3oAXcFijKOTylj2SyjKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1749782076; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Lb+fNjuzpFxROQAVucWzC8TZrPERXzvDTNoXI7MWXbg=; b=hOBRfEBPvuC7MrTm5c+HaQuOqG8+L6pKAEPY6bE5D41eVOpTu5v7kUjaj1ti3grwrN4i+u xic7fmtKkdUjGOGdkZymwgYz7nzlnzKFdQyUo+zPuXivnF7Z11MjqpTjgKNKp4CgpNDodW z6UcrRkiKUTx3C7vu5PvSsdy+ArmPHGI6uxdYXa8t+k83BYFNVOvo6kRCaDcGlHCVbxMQN ToEeHwUHLtZtjEnBomnKjlTHGepnKFQUsGl5+J+9ZMkMWoImvFYeRKTL4pKkLHs/X9gvdz 3imSlVvYZ7w6xeczf3fPuyhUq8lsLbdaTp0keTUwdWccTlm2SIdzIm+NHWbNVg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1749782076; a=rsa-sha256; cv=none; b=ksA7zRZKSxaZd0AzpIvzUz+jAF/+t0JzpIaGAPtJTvc7jWeGTuR0yjyhEKB7N8x8Jo0ReD zeK2wBdAZDAnKPssUCBxWBkqr9R3QmZmCuEkaYn/flP3haDVQJFSaRpZjnne5U746za2JG 4huAL2ECntXDT/2/I8roOPQfCdUlOwcJQL5dHmTXnoq6DVFccbH2W8698v6VlbWmHXYTvW 5cbneGYkyxHrYKqzd0vGK1Ch0PcykFVA07EqO2FdPx1TdeG4j590an1rd3a/eZuw0ZJVUF jMGnEDXFJwDN7WKrrwKvJugeSKQWTmkKiBSktAsSr1CruNZof/OGYK/z1JAW0g== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4bJNlJ3hzVzgGf; Fri, 13 Jun 2025 02:34:36 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 55D2YaY2022305; Fri, 13 Jun 2025 02:34:36 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 55D2YakX022302; Fri, 13 Jun 2025 02:34:36 GMT (envelope-from git) Date: Fri, 13 Jun 2025 02:34:36 GMT Message-Id: <202506130234.55D2YakX022302@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Kyle Evans Subject: git: 1beab149d0b9 - main - stand: lua: add a more productive comment List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kevans X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 1beab149d0b9768ad6d07501326a2060d7b0ba58 Auto-Submitted: auto-generated The branch main has been updated by kevans: URL: https://cgit.FreeBSD.org/src/commit/?id=1beab149d0b9768ad6d07501326a2060d7b0ba58 commit 1beab149d0b9768ad6d07501326a2060d7b0ba58 Author: Kyle Evans AuthorDate: 2025-06-13 02:31:54 +0000 Commit: Kyle Evans CommitDate: 2025-06-13 02:33:11 +0000 stand: lua: add a more productive comment The global `shift` is a special little hack for shifting everything when the logo is gone, and we should explain that. Fixes: 33d3373faf30d ("stand: lua: convert orb to a new format [...]") --- stand/lua/drawer.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/stand/lua/drawer.lua b/stand/lua/drawer.lua index bc0dc543a9fd..334d8724f6bc 100644 --- a/stand/lua/drawer.lua +++ b/stand/lua/drawer.lua @@ -377,7 +377,9 @@ local function drawlogo() end end - -- XXX What the hell is going on here? + -- This is a special little hack for the "none" logo to re-align the + -- menu and the brand to avoid having a lot of extraneous whitespace on + -- the right side. if logodef and logodef.ascii.image == none then shift = logodef.shift else