diff options
author | Christian Persch <chpe@src.gnome.org> | 2004-10-31 01:50:12 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2004-10-31 01:50:12 +0800 |
commit | e4b9a0a0feb51f6be938b7368fc264d67d702553 (patch) | |
tree | 92bd1a7c7e483ee1eb216bbf68e81d15b904ebd0 /embed/mozilla | |
parent | 43e01459631237732f52b29639220ed7eb71bd4f (diff) | |
download | gsoc2013-epiphany-e4b9a0a0feb51f6be938b7368fc264d67d702553.tar gsoc2013-epiphany-e4b9a0a0feb51f6be938b7368fc264d67d702553.tar.gz gsoc2013-epiphany-e4b9a0a0feb51f6be938b7368fc264d67d702553.tar.bz2 gsoc2013-epiphany-e4b9a0a0feb51f6be938b7368fc264d67d702553.tar.lz gsoc2013-epiphany-e4b9a0a0feb51f6be938b7368fc264d67d702553.tar.xz gsoc2013-epiphany-e4b9a0a0feb51f6be938b7368fc264d67d702553.tar.zst gsoc2013-epiphany-e4b9a0a0feb51f6be938b7368fc264d67d702553.zip |
Init variable
Diffstat (limited to 'embed/mozilla')
-rw-r--r-- | embed/mozilla/EventContext.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/embed/mozilla/EventContext.cpp b/embed/mozilla/EventContext.cpp index 03c18922d..1abaca313 100644 --- a/embed/mozilla/EventContext.cpp +++ b/embed/mozilla/EventContext.cpp @@ -577,7 +577,7 @@ nsresult EventContext::GetCSSBackground (nsIDOMNode *node, nsAString& url) nsresult EventContext::GetMouseEventInfo (nsIDOMMouseEvent *aMouseEvent, MozillaEmbedEvent *info) { /* FIXME: casting 32-bit guint* to PRUint16* below will break on big-endian */ - PRUint16 btn; + PRUint16 btn = (PRUint16) -1; aMouseEvent->GetButton (&btn); switch (btn) |