My sister had told me that bed was a fairly safe place to be, and my brother-in-law had commented that the modern codes had done a lot to help buildings withstand earthquakes, and that information was reassuringly in the back of my mind as this was happening.