From 6f62d591080672c5fd25a3f80caeb8b79090b7c9 Mon Sep 17 00:00:00 2001 From: "kepler155c@gmail.com" Date: Sat, 13 May 2017 20:46:26 -0400 Subject: [PATCH] randomseed broken --- sys/boot/multishell.boot | 2 +- sys/extensions/clipboard.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/boot/multishell.boot b/sys/boot/multishell.boot index d218ab2..a6660e4 100644 --- a/sys/boot/multishell.boot +++ b/sys/boot/multishell.boot @@ -2,7 +2,7 @@ print('\nStarting multishell..') LUA_PATH = '/sys/apis' -math.randomseed(os.clock()) +-- math.randomseed(os.clock()) -- totally broken _G.Util = dofile('/sys/apis/util.lua') _G.debug = function(...) Util.print(...) end diff --git a/sys/extensions/clipboard.lua b/sys/extensions/clipboard.lua index 51ff2fa..4efbaf0 100644 --- a/sys/extensions/clipboard.lua +++ b/sys/extensions/clipboard.lua @@ -22,7 +22,7 @@ function clipboard.isInternal() end function clipboard.useInternal(mode) - if mode ~= clipboard.mode then + if mode ~= clipboard.internal then clipboard.internal = mode os.queueEvent('clipboard_mode', mode) end